aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-06-11 14:29:38 -0400
committerJoey Hess <joey@kitenet.net>2011-06-11 14:29:38 -0400
commit303d3c90a780fd5f79b384c415af6d3b2c291d87 (patch)
treeefb920bb71b8ca8da811390739d0b877c79d664d
parent1c1e0573c5f629f0b32c97978be3e80094fd3908 (diff)
downloadikiwiki-303d3c90a780fd5f79b384c415af6d3b2c291d87.tar
ikiwiki-303d3c90a780fd5f79b384c415af6d3b2c291d87.tar.gz
what?
-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, `&lt;` in it. Do you have a specific
+> example? --[[Joey]]