From: Gabriel Wicke
Date: Mon, 14 Jan 2013 23:15:52 +0000 (-0800)
Subject: Test (escaped) HTML entities in text content and attributes
X-Git-Tag: 1.31.0-rc.0~21039^2
X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=dffe25c7abd7ac7b7e18a6440515a107de8eaa3e;p=lhc%2Fweb%2Fwiklou.git
Test (escaped) HTML entities in text content and attributes
Change-Id: Id4414ff177c7eb08dc43ccfa97993895b93710ca
---
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 5640113abb..c68f7d74b8 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -7787,6 +7787,15 @@ I always thought é was a cute letter.
!! end
+!! test
+text with entity-escaped character entity-like string: eacute
+!! input
+I always thought é was a cute letter.
+!! result
+I always thought é was a cute letter.
+
+!! end
+
!! test
text with undefined character entity: xacute
!! input
@@ -13387,6 +13396,23 @@ disabled
!! end
+!! test
+HTML tag with necessary entities in attributes
+!! input
+foo
+!! result
+foo
+
+!! end
+
+!! test
+HTML tag with 'unnecessary' entity encoding in attributes
+!! input
+foo
+!! result
+foo
+
+!! end
TODO:
more images