- From: Rossano Basile <Rossano.Basile@italtel.it>
- Date: Wed, 07 Jul 1999 08:38:36 +0200
- To: html-tidy@w3.org
Craig Horman wrote:
>
> Mea culpa. I fixed this locally but didn't submit the changes to Dave.
>
> FYI, the modification simply consisted of adding the following line to
> lexer.c:InitMap
>
> MapStr("-_", extended);
>
> And modifying the conditional in lexer.c:isValidAttrName to:
>
> if( (map & lowercase) ||
> (map & uppercase) ||
> (map & digit) ||
> (map & extended))
> continue;
>
Of course you also need to add
#define extended 128
in the /* lexer char types */ section in html.h.
Ross.
Received on Wednesday, 7 July 1999 02:51:37 UTC