Last modified: 2011-04-14 15:14:25 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 T20851, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18851 - HTMLtidy moves whitespace around
HTMLtidy moves whitespace around
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: tidy
  Show dependency treegraph
 
Reported: 2009-05-20 09:54 UTC by Derk-Jan Hartman
Modified: 2011-04-14 15:14 UTC (History)
0 users

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


Attachments

Description Derk-Jan Hartman 2009-05-20 09:54:21 UTC
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.

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


Navigation
Links