Nick Jenkins wrote:
Either option
would allow extension authors have to worry less about
bad input (by making it more the Parser's problem than the extension's
problem).
... which I think is kinda what you just said to me in private email.
That'll teach me to send outgoing mail before reading incoming mail,
so I'll shut up now.
;)
The new one-pass tag stripping* is now in trunk and live on Wikimedia's sites.
It passes all parser tests, and has additionally fixed bug 5384 (<!-- comments
--> in <ref> tags).
* Comments are actually done on a separate pass, but unstripped back into tag
contents where they can be dealt with appropriately by the extension.
If it holds up well for a couple days, it could be backported to 1.6 to provide
some more robustness against extension-nesting problems.
-- brion vibber (brion @
pobox.com)