The main problem with 'acting like a browser' is deciding which one to act
like. They all handle invalid HTML in different ways.
--
Mac :})
----- Original Message -----
From: "la mouton" <[EMAIL PROTECTED]>
To: "Reinier Post" <[EMAIL PROTECTED]>
Cc: "la mouton" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Marvin Simkin"
<[EMAIL PROTECTED]>; "libwww%perl.org" <[EMAIL PROTECTED]>
Sent: Friday, March 10, 2000 12:04
Subject: Re: patch for HTML::Parser 3.06 to fix declaration commenthandling
> >
> > In other words, HTML::Parser should parse not HTML, but what some
browsers
> > think HTML is.
>
> exactly. Any resolution with this patch? I can perhaps make another
> patch integrating this change into $parser->strict_comment(0), or perhaps
> make another option such as $parser->act_as_browser() or somesuch.... I'm
> using HTML::Parser to act as a browser and to re-write html content back
> to user thus would like this change in there :) anyone else using
> HTML::Parser for similar tasks?
>
> HTML::Parser has been great for me otherwise.
>
> michael? gisle?