Re: bug in tidy26jul99

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 UTC