Last modified: 2007-01-17 20:57:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6171 - With $wgUseTidy=false, </td> and </tr> is output as text.
With $wgUseTidy=false, </td> and </tr> is output as text.
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-06-02 14:24 UTC by Anders Wegge Jakobsen
Modified: 2007-01-17 20:57 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

Better handling of tags with optional close tags (1.77 KB, patch)
2006-06-02 16:12 UTC, Anders Wegge Jakobsen

Description Anders Wegge Jakobsen 2006-06-02 14:24:47 UTC
The URL points to a default installation of SVN HEAD. As can be seen, </td> is
translateted to &lt;/td&gt;, instead of being put into the html as normal close
tags. The only happens when $wgUseTidy is false.

Compare to the same text in my dawiki sandbox:
Comment 1 Anders Wegge Jakobsen 2006-06-02 16:12:22 UTC
Created attachment 1878 [details]
Better handling of tags with optional close tags

Push optionally-closed tags on the parser stack, and skip them during unwind,
if no close tags are found.
Comment 2 Brion Vibber 2006-06-02 18:37:01 UTC
Cannot reproduce problem at the given URL.
Comment 3 Anders Wegge Jakobsen 2006-06-02 21:19:18 UTC
No, not after i fixed it on my test installation. I still need someone to take a
look at the patch though. 
Comment 4 Anders Wegge Jakobsen 2006-06-03 00:03:29 UTC
Fixed in SVN. Added a testcase to the parser test, demonstrating that the
sanitizer still have a problem with optional end tags.
Comment 5 Antoine "hashar" Musso (WMF) 2007-01-17 20:57:32 UTC
Fixed in r19400. We now automaticly close tags.

Parser tests seems fine:

1 previously failing test(s) now PASSING! :)
  * TODO: Parsing optional HTML elements (Bug 6171)
18 still FAILING test(s) :(

Note You need to log in before you can comment on or make changes to this bug.