Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
[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.
[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.
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences