On Thu, 03 Apr 2003 12:41:56 -0500, Uri Guttman wrote:
> >>>>> "PH" == Peter Haworth <[EMAIL PROTECTED]> writes:
>
>   PH> On Wed, 02 Apr 2003 23:49:27 -0500, Uri Guttman wrote:
>   >> $html_entities{ lc $ent } ;
>
>   PH> Entities are just about the only case-sensitive things in HTML, so
>   PH> you don't really want to lc them.
>
> that doesn't lower case them nor does it rewrite the entity name in the
> html. that makes sure an entity of any case found in the html will be
> found in the hash.

However, it is still testing whether the entitiy is valid in a
case-insensitive way, which is wrong.

> and the OP did that too and i just followed his lead.

OK, I'll blame Andy, then :-)

-- 
        Peter Haworth   [EMAIL PROTECTED]
"Hmm.. this OpenGL stuff looks slightly hard - I'd forgotten
 that real programming involves maths rather than href tags."
                -- Jonathan Peterson

Reply via email to