From: Dick Davies Date: 2005-11-28T19:29:02+09:00 Subject: Re: htmltokenizer bug? On 28/11/05, Horacio Sanson wrote: > > I am using htmltokenizer to extract the links of some web pages, my script > worked perfectly until I started to parse pages with "<" and ">" chars in the > text. > > a html string like this > > this is a > > causes the htmlparser to raise and exception; Error, tag is nil.... > > > Is there a patch or any way to make htmlparser to parse this text?? I think most *browsers* would choke on that :) Have you tried using entities instead ? ( < instead of < and > instead of >) -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/