Suggestion from Koen Martens on IRC:
The
SafeWikiPlugin parses the
HTML generated by the TWiki renderer to generate a
DOM tree.
There is a case for other plugins to be able to also traverse that same
DOM. For example, a URI-rewriting plugin could apply the rewriting filter at the last possible minute.
Obviously we don't want to generate a
DOM tree unless it is really needed, but if plugins register an interest in the tree, it should be centrally parsed and dispatched to the registered plugins.
I think this could all be done in a Contrib, now that we have the
completePageHandler.
--
Contributors: CrawfordCurrie,
KoenMartens - 03 Oct 2007
Discussion