From 58cc72f50b95a84b27ac90fdc4a72c28639ba7c4 Mon Sep 17 00:00:00 2001 From: Platonides Date: Wed, 13 Apr 2011 23:16:22 +0000 Subject: [PATCH] Add a couple of broken tests showing why having the table closing tags in the same line is not a good idea. --- tests/parser/parserTests.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 2fb40008c3..5824b2fed9 100644 --- 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 + + + + + +
caption
Cell
+ +!! end + +!! test +A table with unclosed italic in a cell +!! input +{| +| ''Cell +|} +!! result + + + + +
Cell
+ +!! end + !! test Table security: embedded pipes (http://lists.wikimedia.org/mailman/htdig/wikitech-l/2006-April/022293.html) !! input -- 2.20.1