aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/entity/example/test.html
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2021-12-02 20:12:12 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2021-12-05 02:52:23 +0100
commit2dd67dba89732b89adb0199bc0a99de4cbc34e8f (patch)
treed5ba3341bdfa31758d59590b0c62d6f3aa8a3cad /core/encoding/entity/example/test.html
parent580721440657a9fe5334b6bf095fb70b584fa4f6 (diff)
[core:encoding/entity] Add new package to decode &<entity>; entities.
Includes generator to generate a lookup for named entitiess.
Diffstat (limited to 'core/encoding/entity/example/test.html')
-rw-r--r--core/encoding/entity/example/test.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/core/encoding/entity/example/test.html b/core/encoding/entity/example/test.html
new file mode 100644
index 000000000..60e32bf03
--- /dev/null
+++ b/core/encoding/entity/example/test.html
@@ -0,0 +1,26 @@
+<html>
+ <head>
+ <title>Entity Reference Test</title>
+ <style>
+ body {
+ background: #000; color: #eee;
+ width: 40%;
+ margin-left: auto;
+ margin-right: auto;
+ font-size: 14pt;
+ }
+ </style>
+ </head>
+ <body>
+ <h1>Entity Reference Test</h1>
+ <div id="test_cdata_in_comment" foo="">
+ Foozle]!&#32;&copy;&#x20;<!-- <![CDATA[&#32;&reg;&#x20;]]> -->42&;1234&
+ </div>
+ <div id="test_cdata_unwrap_and_passthrough">
+ Foozle]!&#32;&copy;&#x20;<![CDATA[BOX&#32;&reg;&#x20;/BOX]]>42&;1234&
+ </div>
+ <div>
+ &verbar; &vert; &VerticalLine; &fjlig; &grave; &bsol; &reg; &rhov; &CounterClockwiseContourIntegral;
+ </div>
+ </body>
+</html> \ No newline at end of file