Page MenuHomePhabricator

Id conflicts between headers are possible in obscure circumstances
Closed, ResolvedPublic

Description

Author: ayg

Description:
This input:

a

a

a 2

produces the anchors "a", "a_2", and "a_2" respectively. A page containing these headings would therefore break XHTML validity (see URL). Parser::formatHeadings() should check for this case, if anyone can be bothered.


Version: 1.14.x
Severity: minor
URL: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FUser%3ASimetrical%2FBug_16891

Details

Reference
bz16891

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:30 PM
bzimport added projects: MediaWiki-Parser, Parser.
bzimport set Reference to bz16891.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Jan 5 2009, 4:26 PM

david.sledge wrote:

*** This bug has been marked as a duplicate of bug 10025 ***