From e3cec7174a2fc95988c7b1dd3ea5035bdd81a847 Mon Sep 17 00:00:00 2001 From: Subramanya Sastry Date: Fri, 25 Jan 2013 12:56:35 -0800 Subject: [PATCH] More tests for mismatched attr quotes + entities in nowiki & pre. Change-Id: I16af0fc6027bd2c51318af6117162e01be9f6d35 --- tests/parser/parserTests.txt | 64 ++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index e6d6c2ccbb..365ace1559 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -549,6 +549,15 @@ nowiki 3 !! end +!! test +Entities inside +!! input +< +!! result +

< +

+!! end + ### ### Comments @@ -907,6 +916,15 @@ Bug 6200: Preformatted in
!! end +!! test +Entities inside
+!! input
+
<
+!! result +
<
+ +!! end + !! test
 with forbidden attribute values (bug 3202)
 !! input
@@ -13577,6 +13595,17 @@ HTML tag with broken attribute value quoting
 

!! end +!! test +Parsoid-only: HTML tag with broken attribute value quoting +!! options +disabled +!! input +Foo +

+!! end + !! test Table with broken attribute value quoting !! input @@ -13591,6 +13620,41 @@ Table with broken attribute value quoting !! end +!! test +Table with broken attribute value quoting on consecutive lines +!! input +{| +| title="Hello world|Foo +| style="color:red|Bar +|} +!! result + + + +
Foo +Bar +
+ +!! end + +!! test +Parsoid-only: Table with broken attribute value quoting on consecutive lines +!! options +disabled +!! input +{| +| title="Hello world|Foo +| style="color:red|Bar +|} +!! result + + +
Foo +Bar +
+ +!! end + TODO: more images more tables -- 2.20.1