Don't parse the HTML yourself! HTML::Parser lets you pass to the parser your own handlers for various parsing events; it would not be too hard to write handlers to do what you need.
the lowliest monk
In reply to Re: HTML --> text formatting with curses color codes?
by tlm
in thread HTML --> text formatting with curses color codes?
by dstar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |