]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/make_html-parser_use_encode_entities_numeric.mdwn
(no commit message)
[ikiwiki.git] / doc / todo / make_html-parser_use_encode_entities_numeric.mdwn
1 Hi,
2
3 Using encode_entities makes this sort of thing happen:
4
5 XML Parsing Error: undefined entity
6 Location: http://XXX.YYY.ZZZ/
7
8 and points to the relevant entity.
9
10 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.
11
12 [[wishlist]]
13
14 > I suppose you mean a html generator, and not a html parser.
15
16 > ikiwiki uses numeric entities where required, but not otherwise.
17
18 > It seems valid for xhtml to have eg, `<` in it. Do you have a specific
19 > example? --[[Joey]]