RE: Bug + fix for illegal ampersands and character entities

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⟨=en"
 But author probably meant: "id=1&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 UTC