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

Re: Seems Tidy is ingnoring quote-nbsp

From: Lee Passey <lee@novomail.net>
Date: Wed, 07 Jul 2004 14:27:32 -0600
Message-ID: <40EC5CB4.3090200@novomail.net>
To: stolz@ya.com
Cc: html-tidy@w3.org

Stolz wrote:

>Hi all.
>
>I've created my own tidy config file (see below).
>
>All the options works like a charm, but seems quote-nbsp doesn't work at all.
>Al the "&nbsp;" entities from the original Doc are converted to espaces, although I've set quote-nbsp to yes.
>
>I'm runnig the linux version
># tidy -v
>HTML Tidy for Linux/x86 released on 1st June 2004
>
>here is my config:
>
>bare: y
>  
>
[ remainder snipped ]

Here is your problem. The 'bare' option is designed to produce output 
that is usable in very old browsers which did not have good unicode 
support. This option will cause "curly-quotes" (&ldquot;, &rdquot;, 
etc.) to be reduced to standard ASCII quotes (", ') &mdash; and &ndash; 
to be converted to a dash (-) and non-breaking spaces to be reduced to 
normal spaces. I would have liked this option to to all of the above 
_without_ messing with non-breaking spaces (and in fact have altered my 
local version to do just that) but that's not the way the main branch is 
implemented. Changing 'bare' to 'n' (or omitting the option altogether) 
ought to solve your problem.
Received on Wednesday, 7 July 2004 16:28:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:54 UTC