add CDATA test - webdump_tests - Testfiles for webdump
(HTM) git clone git://git.codemadness.org/webdump_tests
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 3b8ed8b6c9a7f964ac40fee7ee3dfb8f4745aeae
(DIR) parent 2f839c5d7f4015f99238cdae14682c9a4d6d2cf0
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 3 Sep 2023 12:19:09 +0200
add CDATA test
It is deprecated by modern browsers, but support it.
Unlike some browsers it won't be treated as a comment but as regular data.
Lynx also treats it as regular data.
Diffstat:
A tests/cdata.html | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/tests/cdata.html b/tests/cdata.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Title of document</title>
+</head>
+<body>
+
+<p><![CDATA[something some HTML:
+test
+<b>test</b>]]></p>
+
+<hr/>
+
+<pre><![CDATA[something some HTML:
+test
+<b>test</b>]]></pre>
+
+</body>
+</html>