|No such thing as a small change|
Help with HTML::Entities - decode_entitiesby punch_card_don (Curate)
|on Jul 08, 2010 at 23:29 UTC||Need Help??|
punch_card_don has asked for the wisdom of the Perl Monks concerning the following question:
Could someone please give me a clue on using the decode_entities() function of the HTML::Entities module?
I just want to decode & to & and ; to ;
Based on the documentation's example, I've tried many variations on:
but it keep decoding chacters I don't want decoded, like apostrophes.
Also, the docs show it as having a leading underscore (_decode_entities), but it seems to work without.
Time flies like an arrow. Fruit flies like a banana.