Re: CheckColor default

* Klaus Johannes Rusch wrote:
>The latest version of tidy automatically replaces hex color values with the 
>corresponding names. The code looks as if this was supposed to become a 
>configuration option in the future but is currently hardcoded to yes.
>
>I believe the default should be to not replace colors -- "#000000" is just as
>valid as "black".

No, the behaivour is intended, Tidy should IMO always transform the case
of hex digits and replace those 16 colors with their corresponding color
names.

>The option probably should allow conversions in both directions, i.e.
>
>        ColorAttributes: symbolic|hexadecimal|asis

I don't see any good reason why one wants Tidy to turn readable color
names to unreadable color codes.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/

Received on Sunday, 4 November 2001 07:09:18 UTC