Last modified: 2010-03-16 14:54:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24851, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22851 - HTML tidy does not HAVE to break lists
HTML tidy does not HAVE to break lists
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 22818
  Show dependency treegraph
 
Reported: 2010-03-16 14:43 UTC by Derk-Jan Hartman
Modified: 2010-03-16 14:54 UTC (History)
0 users

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


Attachments
tidy indent fix (253 bytes, patch)
2010-03-16 14:43 UTC, Derk-Jan Hartman
Details

Description Derk-Jan Hartman 2010-03-16 14:43:42 UTC
Created attachment 7206 [details]
tidy indent fix

There has long been an issue where all kinds of elements are broken if they are indented or listed. This is because HTMLTidy does not allow block elements inside <dd> or <li>. There is no real reason why this is the case.

HTMLTidy can easily convert this properly by setting "indent: auto" in the configuration. I figured that perhaps it might be because the Wiki sanitizer produced invalid code for these situations at times, but if it did, it no longer seems to be the case.

patch attached
Comment 1 Derk-Jan Hartman 2010-03-16 14:54:34 UTC
Grrrr,

-- for new editor eating linebreaks.

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


Navigation
Links