If HTML::Entities were to decode " to ", it would be buggy. I did understand you correctly. Does what I said make more sense now?
I wonder if decode_entities (not decode_entities_old) handles it correctly?
I don't know if that's legal in SGML/HTML — unescaped ampersand — but yes.
$ perl -MHTML::Entities -le'print decode_entities """' "
In reply to Re^6: Wierd behaviour with HTML::Entities::decode_entities()
by ikegami
in thread Wierd behaviour with HTML::Entities::decode_entities()
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |