Last modified: 2011-04-14 15:14:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 18851 - HTMLtidy moves whitespace around
HTMLtidy moves whitespace around
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
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: ---


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:


"<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.