W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 1999

RE: tidy

From: Stevens, David <DStevens@officemax.com>
Date: Fri, 23 Apr 1999 09:19:28 -0400
Message-ID: <D7EB0C623133D211A8EA0060B01AA4718BB400@MAILSRV3>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
>> [questioning Tidy's behavior on ampersands and quotes]

you wrote:
> No this is deliberate and according to the spec for HTML. What is
> even better is that browsers support entities in attribute values
> correctly. However, you can switch this behavior off for HTML Tidy
> using a config file option. Tidy only converts " to &quot; in
> attribute values and not in element content but I will update the
> documentation to make this clearer.

Thanks. I didn't expect the browser to handle the ampersand entity
in a URL, and I obviously misunderstood the purpose of the 
quote-marks setting. I was thinking that, since quotes might be in 
the text in the input file, and Tidy was breaking lines (possibly 
causing quoted passages to wrap onto multiple lines), that it would 
make sense to replace the quotes with quote entities. 

By the way, (since you're going to look at it) the Tidy documentation 
on configuration files:
http://www.w3.org/People/Raggett/tidy/#config
has two sections on quote-marks (I think the second should be 
quote-ampersand) and the description in the first is confusing:
    causes " characters to be written out as &amp;quot; 

Thanks again.
--Dave
David M. Stevens (DStevens@OfficeMax.com)
OfficeMax, Inc.
(216) 921-6900 x3692
Received on Friday, 23 April 1999 10:00:49 GMT

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