diff --git a/string.js b/string.js index 054691b..ade4f6e 100644 --- a/string.js +++ b/string.js @@ -46,6 +46,7 @@ module.exports = { var ctx = { "exitCurrentTag": exitCurrentTag , "stack": tokenStack + , "fd": ( x ) => ( tokenStack.empty() ? _fd_strOut : tokenStack.curr().fd )( x ) }; for( let i = 0; i < l; i ++ ) @@ -162,6 +163,8 @@ module.exports = { } } + _fineHandlers.WalkEnd && _fineHandlers.WalkEnd( ctx ); + return strOut; } }