W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2001

RE: Bug + fix for illegal ampersands and character entities

From: Bertilo Wennergren <bertilow@hem.passagen.se>
Date: Tue, 20 Feb 2001 17:57:19 +0100
To: <html-tidy@w3.org>
Message-ID: <HBECLJECMMGNJGANOJEPOEEMCDAA.bertilow@hem.passagen.se>
Randy Waki:

> Bertilo Wennergren wrote:

> > If you can't do that, then just correct the code, as Tidy wants
> > you too, and be done with it.

> I think you may have misunderstood my intent.  Tidy issues an error
> message and generates correct HTML both before and after my proposed fix.
> It just that after, the correct HTML is more likely to reflect what the
> author originally intended.

OK. Is this what you meant?:

 Tidy sees: "id=1&lang=en".
 Tidy outputs: "id=1&lang;=en"
 But author probably meant: "id=1&amp;lang=en"
 So Tidy should output the last.

Now that seems reasonable. Sorry for the misunderstanding.

#####################################################################
                          Bertilo Wennergren
                  <http://purl.oclc.org/net/bertilo>
                         <bertilow@chello.se>
#####################################################################
 
Received on Tuesday, 20 February 2001 11:55:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:45 GMT