https://bugzilla.wikimedia.org/show_bug.cgi?id=26639

--- Comment #15 from Daniel Friesen <mediawiki-b...@nadir-seen-fire.com> 
2011-01-29 13:14:13 UTC ---
5) Make tidy run on the parser output text each time it's fetched, instead of
running on the text before saving it to the parser output

Though looking at the code we have ParserBeforeTidy and ParserAfterTidy and
trying to remove tidy from Parser::parse might not be totally desirable.

6) Hack up MWTidy so that it replaces things like <mw:editsection> with
something like the parser's UNIQ tokens, runs tidy (making tidy ignore the
tokens) and then replaces the tokens with the original blocks.

May have some effects like making tidy not work inside anything inside a
<mw:...> block, and it might fall apart with nesting, but it's probably the
best option.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to