aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/todo/make_html-parser_use_encode_entities_numeric.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/todo/make_html-parser_use_encode_entities_numeric.mdwn b/doc/todo/make_html-parser_use_encode_entities_numeric.mdwn
new file mode 100644
index 000000000..2c3344003
--- /dev/null
+++ b/doc/todo/make_html-parser_use_encode_entities_numeric.mdwn
@@ -0,0 +1,19 @@
+Hi,
+
+Using encode_entities makes this sort of thing happen:
+
+XML Parsing Error: undefined entity
+Location: http://XXX.YYY.ZZZ/
+
+and points to the relevant entity.
+
+I think using encode_entities_numeric would help a lot with this. This is just a naïve assessment, but this would prevent xml-like pages being non-xml.
+
+[[wishlist]]
+
+> I suppose you mean a html generator, and not a html parser.
+>
+> ikiwiki uses numeric entities where required, but not otherwise.
+>
+> It seems valid for xhtml to have eg, `<` in it. Do you have a specific
+> example? --[[Joey]]