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

RE: Howto deactivate Tidy Wrap Option ?

From: Parsons, Rick <rick.parsons@eds.com>
Date: Tue, 19 Oct 1999 11:45:56 +0100
Message-ID: <01D8D54ABD17D11187E500805FD6C94801B6AD56@GBRBM001>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
Whilst I agree that this would a useful feature, I think that the wrap issue
on attribute values needs to be addressed separately (see earlier posting in
the wrap of the TITLE= value but not the CONTENT= value). I think that there
is a need to disable the wrap of attribute values whilst still allowing the
indent and wrap of body text.

My justification is that wrapped and indented TITLE= values (and perhaps
some others) is often visible to the browser user. e.g. <ACRONYM
                   Markup Language">HTML</ACRONYM>


Rick Parsons

EDS Technical Infrastructure Client/Server Group
   Network & Systems Management

Mail:   c/o Rolls-Royce plc, GP1-2, PO Box 3, Filton, Bristol BS34 7QE
EURmail: mailto:rick.parsons@eds.com
> * Tel:    (+44) 117 979 7883     Fax:    (+44) 117 979 7353

-----Original Message-----
From: Dave Raggett [mailto:dsr@w3.org]
Sent: 18 October 1999 11:34
To: Norbert Bottlaender-Prier
Cc: Dave Raggett care of
Subject: Re: Howto deactivate Tidy Wrap Option ?

On Sat, 16 Oct 1999, Norbert Bottlaender-Prier wrote:

> How can I tell Tidy (vers 27th September 1999 for win(lose?)95)
> NOT to insert line breaks, even for VERY LONG lines ? "-wrap 0"
> doesn't seem to give the desired result 8^) actually, I use
> "-wrap 1024" instead, which is adequate for 95% of my files. But
> what about the resting 5 % ? Is there a max value ? (maybe it's
> allright just to mention it in the manual, not necessarily to
> modify the program)

Thanks for the feedback. You can set the number to the maximum
value for a signed 32 bit integer. However, I agree that it
would be nicer to avoid the need to know what this number is.
"wrap: 0" seems like a reasonable way as does "wrap: never".
I will look into this for the next release.


-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2984 (or 2521) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Tuesday, 19 October 1999 06:46:53 UTC

This archive was generated by hypermail 2.3.1 : Friday, 13 July 2018 08:58:58 UTC