![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
Greetings Monks,
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:
I liked the HTML::Tidy, except for the fact, that it required libtidy, and I might not be able to package libtidy as part of the release.
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 ? In reply to clean html tags by InfiniteLoop
|
|