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

Re: bug in tidy26jul99

From: Dave Raggett <dsr@w3.org>
Date: Sun, 15 Aug 1999 17:36:11 +0100 (GMT Daylight Time)
To: Vlad Harchev <hvv@hippo.ru>
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.9908151735390.-308917@hazel.hpl.hp.com>
On Thu, 5 Aug 1999, Vlad Harchev wrote:

> Tidy has incorrect behaviour when indenting piece containing
> PRE.
> 
> Original file:
> 
> <pre><b>
>       FOO     BAR   A
>      FOO1   FBAR1   B
> </b></pre>
> 
> (the cells' content is right-aligned)
> 
> After 'tidy -i file.html > filei.html', indented file contains
> (headers stripped):
> 
> <pre>
> <b>     FOO     BAR   A
>      FOO1   FBAR1   B
> </b>
> </pre>
> 
> But it should contain
> 
> <pre>
> <b>      FOO     BAR   A
>      FOO1   FBAR1   B
> </b>
> </pre>
> 
> since '<b>' is 3-character long. Substitute <b> with <strong>
> and watch results - the 1st row of the table will lack one space
> character.

Thanks for the feedback - I will look into this for the next
release.

Regards,

-- 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 Sunday, 15 August 1999 12:33:24 GMT

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