aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/entity/example
diff options
context:
space:
mode:
Diffstat (limited to 'core/encoding/entity/example')
-rw-r--r--core/encoding/entity/example/entity_example.odin1
-rw-r--r--core/encoding/entity/example/test.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/core/encoding/entity/example/entity_example.odin b/core/encoding/entity/example/entity_example.odin
index 161a44827..882203f48 100644
--- a/core/encoding/entity/example/entity_example.odin
+++ b/core/encoding/entity/example/entity_example.odin
@@ -50,6 +50,7 @@ _main :: proc() {
using fmt
options := xml.Options{ flags = { .Ignore_Unsupported, .Intern_Comments, .Unbox_CDATA, .Decode_SGML_Entities }}
+
doc, _ := xml.parse(#load("test.html"), options)
defer xml.destroy(doc)
diff --git a/core/encoding/entity/example/test.html b/core/encoding/entity/example/test.html
index 62a0bb35a..ebbc6470c 100644
--- a/core/encoding/entity/example/test.html
+++ b/core/encoding/entity/example/test.html
@@ -22,7 +22,7 @@
</div>
<!-- EXPECTED: Foozle]! © BOX ® /BOX42&;1234& -->
<div>
- &verbar; &vert; &VerticalLine; &fjlig; &grave; &bsol; &reg; &rhov; &CounterClockwiseContourIntegral;
+ &verbar; &vert; &VerticalLine; &fjlig; &grave; &bsol; &reg; &rhov; &CounterClockwiseContourIntegral; &bsemi;
</div>
</body>
</html> \ No newline at end of file