"be consistent" | |
PerlMonks |
Re: Re: Strip HTML tags againby dda (Friar) |
on Jul 01, 2002 at 12:49 UTC ( [id://178531]=note: print w/replies, xml ) | Need Help?? |
Ok, I'll try to explain. If someone types '<b>some text</b>', it should not be be displayed as a bold text in chat window, and displaying the HTML source is not a good idea too. I just have to strip all tags from the line.
And '<some text>' should not be stripped. All regexp-based solutions will strip this too. I'm still looking for regexp-based stuff that will use %HTML::Tagset::isKnown hash to filter out only correct HTML tags. --dda
In Section
Seekers of Perl Wisdom
|
|