From: Subramanya Sastry Date: Fri, 25 Jan 2013 20:56:35 +0000 (-0800) Subject: More tests for mismatched attr quotes + entities in nowiki & pre. X-Git-Tag: 1.31.0-rc.0~20910 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=e3cec7174a2fc95988c7b1dd3ea5035bdd81a847;p=lhc%2Fweb%2Fwiklou.git More tests for mismatched attr quotes + entities in nowiki & pre. Change-Id: I16af0fc6027bd2c51318af6117162e01be9f6d35 --- 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