Last modified: 2012-10-30 12:55:33 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 T28212, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26212 - Nested tags without space before them don't work
Nested tags without space before them don't work
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.17.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Template...
:
Depends on:
Blocks: tidy
  Show dependency treegraph
 
Reported: 2010-12-02 22:49 UTC by Svick
Modified: 2012-10-30 12:55 UTC (History)
3 users (show)

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


Attachments

Description Svick 2010-12-02 22:49:37 UTC
When a tag is nested inside another tag with the same name and the second instance is not preceded by a whitespace, the tag is incorrectly ended there in the rendered HTML:

<tt>outer <tt>inner</tt></tt>

is rendered correctly as

<tt>outer <tt>inner</tt></tt>

Whereas

<tt>outer<tt>inner</tt></tt>

is rendered as

<tt>outer</tt>inner

The same issue is present with other formatting tags, such as <b>, <i> and <em>.
Comment 1 Bawolff (Brian Wolff) 2010-12-02 22:58:48 UTC
Issue is only present with tidy enabled.

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


Navigation
Links