Tidy wraps attributes when told not to

    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 UTC