Last modified: 2011-07-18 15:05:44 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 T11538, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9538 - Unclosed tags go across image thumbs
Unclosed tags go across image thumbs
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.10.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://es.wikipedia.org/wiki/Wikipedi...
: parser
Depends on:
Blocks: tidy
  Show dependency treegraph
 
Reported: 2007-04-09 11:45 UTC by Platonides
Modified: 2011-07-18 15:05 UTC (History)
1 user (show)

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


Attachments

Description Platonides 2007-04-09 11:45:44 UTC
Test case:

[[Image:Wiki.png|left|thumb|Lorem ipsum<small>Small text]] This should be normal
text

Expected the same output as:
[[Image:Wiki.png|left|thumb|Lorem ipsum<small>Small text</small>]] This should
be normal text

Live wikipedia provides the same output as:
[[Image:Wiki.png|left|thumb|Lorem ipsum<small>Small text</small>]] <small>This
should be normal text


Likely a "feature" of the new tidy. Thus MediaWiki sanitizer should fix it
before passing it to tidy.
Comment 1 Dan Collins 2011-07-18 05:00:29 UTC
Invalid input produces confusing output. Garbage in, garbage out, closing invalid.


[[Image:Wiki.png|left|thumb|Lorem ipsum<small>Small text]] What kind of text should this be?</small>
Comment 2 Platonides 2011-07-18 15:05:21 UTC
I disagree. We shouldn't be producing garbage, even if providing garbage (that's why we pass the html through tidy).

Second, this was a change of behavior from the previous one, which caused problems on the wiki (I update the link to point to the archive)

Finally:
[[Image:Wiki.png|left|thumb|Lorem ipsum<small>Small text</small>]] What kind of text should this be?&lt;/small&gt;

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


Navigation
Links