From dffe25c7abd7ac7b7e18a6440515a107de8eaa3e Mon Sep 17 00:00:00 2001
From: Gabriel Wicke
Date: Mon, 14 Jan 2013 15:15:52 -0800
Subject: [PATCH] Test (escaped) HTML entities in text content and attributes
Change-Id: Id4414ff177c7eb08dc43ccfa97993895b93710ca
---
tests/parser/parserTests.txt | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
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
--
2.20.1