Page MenuHomePhabricator

Some wiki markup for table causes invalid XHTML output
Closed, ResolvedPublic

Description

Author: n-roeser

Description:
Try the following table markup:

{|

Cell:broken
}

This will create
<td&nbsp;:>
in the output, which is invalid. I assume a bug in includes/Parser.php around
line 169, but I'm not sure. Even if the wiki markup entered by the user is
invalid, this should *never* cause invalid XHTML to be sent to the user agent.


Version: 1.4.x
Severity: major

Details

Reference
bz1830

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:17 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz1830.
bzimport added a subscriber: Unknown Object (MLST).

This seems to be working correctly in 1.5; adding fixed-in-cvs keyword.

Parser test cases added to HEAD (passes) and REL1_4 (fails).