Another evil test to join r86004 (didn't produce malformed output in the pre-r85922...
authorPlatonides <platonides@users.mediawiki.org>
Wed, 13 Apr 2011 23:36:49 +0000 (23:36 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 13 Apr 2011 23:36:49 +0000 (23:36 +0000)
tests/parser/parserTests.txt

index b8ca26a..706d33b 100644 (file)
@@ -1460,6 +1460,24 @@ A table with unclosed italic in a cell
 
 !! end
 
+!! test
+A table with unclosed italic in a th
+!! input
+{|
+|-
+! ''Cell
+|| Value
+|}
+!! result
+<table>
+<tr>
+<th><i>Cell</i></th>
+<td>Value</td>
+</tr>
+</table>
+
+!! end
+
 !! test
 Table security: embedded pipes (http://lists.wikimedia.org/mailman/htdig/wikitech-l/2006-April/022293.html)
 !! input