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

           Summary: HTMLtidy moves whitespace around
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: [email protected]
        ReportedBy: [email protected]


HTML tidy moves whitespace around, including in some cases where this is not
desirable, for instance:

en:Template:Coord/link

"<span class="geo-multi-punct"> / </span>" is changed to " <span
class="geo-multi-punct">/</span> ". This is not desirable because this span is
"display:none" for most people, but HTMLtidy makes the spaces show up in
elements that are visible by default. The only way to fix this atm seems to be
to use "<span class="geo-multi-punct">&#xfeff; / &#xfeff;</span>", which is
terrible of course. It would be nice if this part of HTMLtidy could be
disabled, since it is supposed to be non-visual cosmetic cleanup done by
HTMLtidy, but turns out to be visual in en.wp in some conditions.


-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to