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
  editing."

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">

or

  <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 GMT

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