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

Re: dashes, again

From: Fred Bone <Fred.Bone@dial.pipex.com>
Date: Sun, 31 Jul 2005 20:09:39 +0100
To: Chris von Rosenvinge <chris@vingdesign.com>
Cc: html-tidy@w3.org
Message-ID: <42ED3003.344.11D7508@Fred.Bone.dial.pipex.com>

On 31 Jul 2005 at 14:45, Chris von Rosenvinge said:

> 
> My subscription to the list was interrupted, so I am trying this 
> query again. My apologies in advance if you are receiving this 
> message for the second time.
> 
> I'm a graphic designer, and the differences between an em-dash, 
> n-dash and hyphen matter to me. I customarily use &#8211; for 
> en-dashes and &#8212; for em-dashes. When I clean up my pages using 
> Mac Tidy, though, it converts these both to the same hyphen. Same 
> thing if I use &ndash;  &mdash; I use a configuration file, but 
> haven't been able to find what variable controls the way Tidy deals 
> with these entities. What is the solution?

Your previous attempt did get through, but no-one seems to have answered. 
I'm no expert, but ...

Have you set "ascii-chars yes"? If so, that's probably the answer. It 
tells Tidy to use the nearest 7-bit-ascii equivalent.

HTH ... FB
Received on Sunday, 31 July 2005 19:10:53 GMT

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