in reply to Re: Removing Javascript
in thread Removing Javascript

gets fooled by the first </script> tag.
Something's getting fooled, but it's not HTML::Parser.
You should be using the appropriate HTML entities in your javascript ( &lt; and &gt;) instead of using the actual closing tag in your document.write statement.

Replies are listed 'Best First'.
Re: Re: Re: Removing Javascript
by Mur (Pilgrim) on Jan 02, 2003 at 21:00 UTC
    That would be nice if I could force it on all the web page authors out there. But I can't. I'm parsing "real-world" HTML, and apparently browsers don't flag this as bad. 8-(
    --
    Jeff Boes
    Database Engineer
    Nexcerpt, Inc.
    vox 269.226.9550 ext 24
    fax 269.349.9076
     http://www.nexcerpt.com
    ...Nexcerpt...Connecting People With Expertise