in reply to How to use HTML::Parser to encode text with HTML entities?
Re: Strip HTML tags again and my follow-up are probably exactly what you want. They use HTML::TokeParser::Simple to parse and HTML::Tagset to decide what is "text" and what is supposed to be a tag. HTML::Parser is a bit bare bones and I wouldn't recommend it over the TokeParser modules (or HTML::TreeBuilder).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to use HTML::Parser to encode text with HTML entities?
by Anonymous Monk on Dec 01, 2010 at 21:34 UTC | |
by Your Mother (Archbishop) on Dec 01, 2010 at 22:22 UTC |