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

           Summary: HTML tidy does not HAVE to break lists
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: hart...@videolan.org


Created an attachment (id=7206)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7206)
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

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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