Gregory Maxwell wrote:
On 4/6/07, Tim Starling tstarling@wikimedia.org wrote:
HTML Tidy has been upgraded on our servers, as of 04:40 UTC. We have had reports that some wikitext relies on fixed tidy bugs, and is thus broken, e.g. http://tinyurl.com/2orw8n . You can safely assume that we won't be simulating any Tidy bugs in MediaWiki to compensate, so these changes are here for good. If anyone can identify clearly broken behaviour in the new Tidy, then we can arrange to have it fixed.
A point that seems to be biting a lot of people is the improper use of <span/> to surround block elements. This isn't proper.. so tidy fixes it.. but when tidy fixes it on a numbered list you get an odd result like
- an item
- another item
This can be solved by using div to surround block things like lists.
A lot of this needs to be detected by MediaWiki up front when the pages are saved rather than waiting for tidy to clean it up later. I deal with this breakage every time I import and test a dump file. MediaWiki could avoid a lot of these issues by detecting garbage when the pages are saved.
Jeff