W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 1999

Re: July 2nd Tidy bug

From: Dave Raggett <dsr@w3.org>
Date: Wed, 7 Jul 1999 10:43:39 +0100 (GMT Daylight Time)
To: Jelks Cabaniss <jelks@jelks.nu>
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.9907071041420.-322769@hazel.hpl.hp.com>
On Sat, 3 Jul 1999, Jelks Cabaniss wrote:

> Tidy still has a problem with "quote-ampersand".  Given
> 
> 	I work for AT&T, not AT&amp;T
> 
> and
> 
> 	quote-ampersand: yes
> 
> Tidy does this:
> 
> 	I work for AT&mp;T, not AT&mp;T

Darn - I wish I had spotted this earlier!  The fix is to insert:

              AddC('a', linelen++);

at line 317 in pprint.c.

I will post a new release asap to fix this.

Apologies all round.

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2984 (or 2521) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Wednesday, 7 July 1999 05:38:15 GMT

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