Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Well, I mentioned that this'd break on bad HTML. Specifically, it assumes all tags have an even number of "outer" quotation marks(1) in them....
In my defense, the complexity of the HTML is not at issue here, because I'm not really parsing it, I'm simply stripping all tags, which is a much simpler problem. (1)I hadn't realized that foo='"' was a legal attribute-value pair originally. This has since been fixed. -- In reply to Re: Re: Strip HTML tags
by rlk
|
|