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: Sat, 22 Jan 2000 20:31:40 -0500
Message-Id: <200001230131.UAA27346@mail.bcpl.net>
To: HTML Tidy List <html-tidy@w3.org>
    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>
</head>

<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 Saturday, 22 January 2000 20:31:44 GMT

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