aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/entity/example/entity_example.odin
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2021-12-05 02:17:48 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2021-12-05 02:52:23 +0100
commitd65d6edb0e1887871c4de6a4e8a1630927153eae (patch)
tree962864b2793913332adfe390521eff747f4c4863 /core/encoding/entity/example/entity_example.odin
parent3d72e80ccf0f382f03a1c9407c4728862c5bca91 (diff)
[xml] Improve XML tests, test `core:encoding/entity`.
Diffstat (limited to 'core/encoding/entity/example/entity_example.odin')
-rw-r--r--core/encoding/entity/example/entity_example.odin1
1 files changed, 1 insertions, 0 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)