Last modified: 2006-04-07 14:29:47 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 T4123, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2123 - Tidy HTML wrapping causes bad output
Tidy HTML wrapping causes bad output
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-09 15:53 UTC by Mormegil
Modified: 2006-04-07 14:29 UTC (History)
0 users

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


Attachments

Description Mormegil 2005-05-09 15:53:10 UTC
The "wrap" option configured for Tidy on Wikipedia is broken. If the "show hoverbox above links" setting is disabled, Tidy sometimes inserts the line break into the editsection link, causing it to display like "[ edit]". (See e.g. http://mormegil.wz.cz/etc/editsec_ff.png)

The "tidied" HTML looks like:

<div class="editsection" style="float:right;margin-left:5px;">
[<a href="
/w/index.php?title=Josephus_problem&amp;action=edit&amp;section=2">
edit</a>]</div>

Notice the superfluous end of line after the opening anchor tag, just before the "edit" text.

This might be fixed by some Tidy option like "wrap-attributes", I don't know, I have never used Tidy.
Comment 1 Mormegil 2006-04-07 14:29:47 UTC
"Fixed" by removing the hover option altogether
(see http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=7863), and
probably also by disabling the line-wrapping feature of Tidy

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


Navigation
Links