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

tt

From: Jany Quintard <jany.quintard@free.fr>
Date: Fri, 11 Oct 2002 09:43:52 +0200
To: html-tidy@w3.org
Message-ID: <20021011074352.GR5982@figue>


-- 
I believe that I asked this, but I am not sure wether I got an answer.
Tidy is very useful for cleaning HTML files and I use it to pretty print XML
files too.
My problem is that tidy breaks lines between elements, like this :
<elem1><elem2>Content of elem2
is changed to
<elem1>
  <elem2>Content of elem2

The result is far easier to read, but...
the content of the document has been _changed_ : the newline between
<elem1> and <elem2> has been added.
Would it be possible to break lines in the tags, such as
<elem1
  ><elem2
     >Content of elem2

It does not look so pretty, but is more correct.
Jade and Openjade use this process for breaking lines.

TiA.
Jany
------------------------------------------------------------------------
Jany Quintard               | I always wanted to be somebody,
jany.quintard@bigfoot.com   | but I should have been more specific.
                            |  Lily Tomlin
Received on Friday, 11 October 2002 04:36:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC