dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8828e92
)
Add a couple of broken tests showing why having the table closing tags in the same...
author
Platonides
<platonides@users.mediawiki.org>
Wed, 13 Apr 2011 23:16:22 +0000
(23:16 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Wed, 13 Apr 2011 23:16:22 +0000
(23:16 +0000)
tests/parser/parserTests.txt
patch
|
blob
|
history
diff --git
a/tests/parser/parserTests.txt
b/tests/parser/parserTests.txt
index
2fb4000
..
5824b2f
100644
(file)
--- a/
tests/parser/parserTests.txt
+++ b/
tests/parser/parserTests.txt
@@
-1425,6
+1425,38
@@
Heading inside table (affected by r85922)
!! end
+!! test
+A table with a caption with unclosed italic
+!! input
+{|
+|+ ''caption
+| Cell
+|}
+!! result
+<table>
+<caption><i>caption</i></caption>
+<tr>
+<td>Cell</td>
+</tr>
+</table>
+
+!! end
+
+!! test
+A table with unclosed italic in a cell
+!! input
+{|
+| ''Cell
+|}
+!! result
+<table>
+<tr>
+<td><i>Cell</i></td>
+</tr>
+</table>
+
+!! end
+
!! test
Table security: embedded pipes (http://lists.wikimedia.org/mailman/htdig/wikitech-l/2006-April/022293.html)
!! input