I'm using HTML::TokeParser to remove HTML. This functions very well when tags are contained on one line.

What happens when you're reading a file line by line, and the HTML tag is split between lines? The HTML I'm dealing with is sometimes broken up. For instance, I'll get lines beginning with "size=2>" which is the end of a tag that began on the previous line.

Any suggestions or recommendation on cleaning up -- as in removing -- this kind of "broken" HTML?

-- Craig


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0536-0, 09/05/2005
Tested on: 9/6/2005 9:40:04 AM
avast! - copyright (c) 1988-2004 ALWIL Software.
http://www.avast.com



_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to