in reply to Re^5: Wierd behaviour with HTML::Entities::decode_entities()
in thread Wierd behaviour with HTML::Entities::decode_entities()
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 """' "
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: Wierd behaviour with HTML::Entities::decode_entities()
by Baz (Friar) on Dec 14, 2009 at 19:05 UTC | |
by ikegami (Patriarch) on Dec 14, 2009 at 19:53 UTC |
In Section
Seekers of Perl Wisdom