Bug in HTML::Parse

Charlie Stross (charles@fma10.fma.com)
Mon, 30 Sep 1996 13:02:38 +0100


Yep, there _is_ a problem in HTML::Parse. I fixed my difficulty with
the PICS headers by calling HTML::Entity::Decode in the right place,
only to discover that the parser loses information about the _type_
of quoting being used in HTML elements. For example:

<META NAME="foo" CONTENT='This content contains "embedded information"'>

turns into:

<META NAME="foo" CONTENT="This content contains "embedded information"">

... which is obviously wrong.

(NB: Using LWP 5.01).


-- Charlie Stross