W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: Config file wrapping some attributes

From: J. David Bryan <jdbryan@acm.org>
Date: Mon, 11 Dec 2000 23:20:10 -0500
Message-Id: <200012120420.XAA20985@mail.bcpl.net>
To: HTML Tidy List <html-tidy@w3.org>
On 11 Dec 2000, at 17:51, Wier, David wrote:

> in the Meta tags and the Table Tags, I get the following format:
>                               <tr>
>                                       <td align="Left" valign=
>                                       "Top">whatever</td>
> I've tried several iterations of the above and it still wraps the last
> attribute
> Why is it wrapping the last attribute?

The documentation for the "wrap-attribute" option in HTML Tidy says:

 "If set to yes, attribute values may be wrapped across lines for easier

The key is that this option suppresses the wrapping of attribute *values*, 
not of the entire attribute.  The option affects whether you get:

  <img src="x" title="This is a
  long attribute value">


  <img src="x" title=
  "This is a long attribute value">

(The option perhaps would be more clearly named "wrap-attribute-values".)
                                      -- Dave
Received on Monday, 11 December 2000 23:20:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC