encode_entities_numeric please :)

master
simonraven 2011-06-11 17:00:02 +00:00 committed by admin
parent 45fb0371db
commit b09ff73c66
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
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.