|Perl Monk, Perl Meditation|
clean html tagsby InfiniteLoop (Hermit)
|on Jan 25, 2007 at 17:12 UTC||Need Help??|
InfiniteLoop has asked for the wisdom of the Perl Monks concerning the following question:
Recently I have been tasked with modifying my custom module to output "clean html", given the following html snippet:
has to be formatted thusly:
basically, I need to convert the "text" to their html entity, at the same time retaining the html tags. I have looked at few modules on CPAN, namely:
Regards to HTML::Lint, the documentation does not give any methods to access the cleaned html chunk.
Do you know of any "all perl" html tidy like module ?