Add passing test documenting MW's acceptance of pipes between tr attributes
authorGabriel Wicke <gwicke@wikimedia.org>
Thu, 5 Apr 2012 13:49:58 +0000 (15:49 +0200)
committerGabriel Wicke <gwicke@wikimedia.org>
Thu, 5 Apr 2012 13:52:05 +0000 (15:52 +0200)
Change-Id: I584a8826348a9acc4facfaadf5766832d262a53d

tests/parser/parserTests.txt

index e627b44..04f7b50 100644 (file)
@@ -9205,6 +9205,24 @@ new support for bdi element (bug 31817)
 
 !!end
 
+!! test
+Ignore pipe between table row attributes
+!! input
+{|
+| quux
+|- id=foo | style='color: red'
+| bar
+|}
+!! result
+<table>
+<tr>
+<td> quux
+</td></tr>
+<tr id="foo" style="color: red">
+<td> bar
+</td></tr></table>
+
+!! end
 
 TODO:
 more images