Page MenuHomePhabricator

HTML tidy does not HAVE to break lists
Closed, InvalidPublic

Description

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


Version: unspecified
Severity: normal

Attached:

Details

Reference
bz22851

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:06 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz22851.
bzimport added a subscriber: Unknown Object (MLST).

Grrrr,

  • for new editor eating linebreaks.