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

Re: Preventing a line break?

From: Geoff McLane <ubuntu@geoffair.info>
Date: Mon, 30 Oct 2017 16:10:53 +0100
To: html-tidy@w3.org
Message-ID: <0912558e-6653-cd19-6bf6-e57eaac9782d@geoffair.info>
Hi Harlan,

As Fred suggested it seems this is just the normal wrap of a line...

As he suggests you can change the line length or run tidy with the 
option '-w 0' and it should produce one line...

This option can also be written as '-wrap 0', or '--wrap 0', or put in a 
config file as 'wrap: 0'...

Or instead of '0' you could use a value bigger than the desired line. 
IIRC the default is 68 - see 
http://api.html-tidy.org/tidy/quickref_next.html#wrap

Hope this helps...

Geoff.
Received on Monday, 30 October 2017 15:11:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 30 October 2017 15:11:30 UTC