|Think about Loose Coupling|
Parsing HTML with tags intactby mr_p (Scribe)
|on Jan 06, 2011 at 22:45 UTC||Need Help??|
mr_p has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to parse html text with tags intact. The code I wrote using HTML::Parser strips out the tags.
Is there a way to keep tags intact?
below is my code.
Output I get:
Output I need is:
I would like the above output to still have tags, is it possible to do this with HTML::Parser?