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

Tidy wraps attributes when told not to

From: J. David Bryan <jdbryan@acm.org>
Date: Fri, 24 Mar 2000 11:45:37 -0600
To: HTML Tidy List <html-tidy@w3.org>
Message-ID: <OF403C293B.2B787D72-ON8625686F.00091AC6@rfdinc.com>

    The attached HTML illustrates what appears to me to be a bug in Tidy
version 13-Jan-2000.  Snip it into a file and run Tidy against it.  Tidy
will wrap the font face attribute string value, even though it shouldn't
(as it defaults to wrap-attributes: no).

    Is this a bug, or am I misunderstanding something about Tidy's
operation?

                                                 -- Dave Bryan

----- HTML bug text follows -----

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>

<head>
<title>wrap bug</title>
<body>
<!-- Run this as "tidy tidy-bug.html" to demonstrate -->
<!-- the problem. Tidy defaults to "wrap-attributes: no" -->
<!-- However, the following "font face" attribute value -->
<!-- will be wrapped, regardless of the setting -->

<p>This is a bug test. Why is this face
<font face="Arial, Helvetica, Geneva" SIZE="5">attribute value</font>wrapped?</p></body>
</html>
Received on Friday, 24 March 2000 13:14:24 GMT

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