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

Re: Bug: Tidy tab replacement in <pre> elements

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 09 Jan 2012 22:22:24 +0100
To: Warren Block <wblock@wonkity.com>
Cc: html-tidy@w3.org
Message-ID: <b5mmg79fl5mi6ikd2e02rmukstpujvuh9b@hive.bjoern.hoehrmann.de>
* Warren Block wrote:
>>	  struct driver {

This is tab space space.

> 		void	*priv;			/* driver private data */
> 	  };</PRE

This space tab space space.

><pre class="PROGRAMLISTING">
>          struct driver {
>                 KOBJ_CLASS_FIELDS;
>                 void    *priv;                  /* driver private data 
>           };
>Note that there are only *nine* spaces instead of ten before "struct", 
>and it no longer aligns with the closing bracket.

In your mail I see ten spaces before struct and eleven spaces before the
closing curly bracket. I can reproduce what I just described, basically
the problem would be that the closing `>` for the <pre> start tag isn't
ignored during tab replacement?

It would be good if you could raise this bug on the SourceForge tracker
<https://sourceforge.net/tracker/?group_id=27659&atid=390963>, but you
will notice there is a long backlog and not much activity.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Monday, 9 January 2012 21:22:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:58 UTC