W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2004

Re: User question: line breaks

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 14 May 2004 08:31:25 +0200
To: Susan Lesch <lesch@w3.org>
Cc: html-tidy@w3.org
Message-ID: <40b3666b.913933176@smtp.bjoern.hoehrmann.de>

* Susan Lesch wrote:
>I tried Web search and Tidy docs but no luck. At least in BBTidy, 
>output has an extra line break after most elements so there is a 
>blank line (then, even with indent off it is possible to visually 
>scan through a file).
>
>What is the tidy config option to do that?

You mean, you have e.g.

  <div>
  <p>...
  <p>...
  <p>...
  </div>

and want Tidy to emit e.g.

  <div>
  <p>...</p>

  <p>...</p>

  <p>...</p>
  </div>

without indentation? Hmm... It's (close to) what old versions of Tidy
did, we changed it for some reason and later introduced an experimental
boolean config option 'vertical-space'... A March 2003 build would
indeed generate the above using `--vertical-space yes` but current
builds do not... I'll have a look at it.
Received on Friday, 14 May 2004 02:31:52 GMT

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