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

Re: wrap-attributes not wrapping?

From: J. David Bryan <jdbryan@acm.org>
Date: Tue, 20 Feb 2001 01:21:30 -0500
Message-Id: <200102200621.f1K6LV926828@mail.bcpl.net>
To: HTML Tidy List <html-tidy@w3.org>
On 19 Feb 2001, at 16:55, Rzepa, Henry wrote:

> Can anyone reproduce, is it just  JTidy and BBTidy that have this
> problem, or is it generic in the Aug 4 source? 

With the 4 Aug 2000 console version of HTML Tidy, the VALUE attribute value 
will not wrap.  The ONMOUSEOVER attribute value wraps, with backslashes 
added to each intermediate line.

Note, though, that lines 404-406 of "attrs.c" contain this code:

    SetNoWrap(attr_alt);
    SetNoWrap(attr_value);
    SetNoWrap(attr_content);

...which explicitly prohibits the contents of the ALT, VALUE, and CONTENT 
attributes from being wrapped.

                                      -- Dave
Received on Tuesday, 20 February 2001 01:21:34 GMT

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