Reply to thread

[USER=3]@Mike[/USER], Why is _replaceTagFilter applied as a post processing step rather than as part of _wrapInHtml which is called by render* functions ?


I would have thought that by the time _wrapInHtml is called, the subtree rendering is finished, and the inner text of the tag can't change without invalidating a lot of other assumptions.


I can't see anything in _replaceTagFilter which is dependant on the outside context (besides _blockTagsEnd which can be setup on first use or something). Even the inspection of the <break> & <break-start> tags look like they are only operating on the inner-most text.


Back
Top Bottom