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

RE: Tidy adding returns inside xml elements

From: JOSEPH GHOBREAL <Ghobreal.Joseph@abc.net.au>
Date: Tue, 20 May 2003 09:33:11 +1000
Message-Id: <200305192337.h4JNb7AF016070@nucfw05.abc.net.au>
To: Bjoern Hoehrmann <derhoermi@gmx.net>, JOSEPH GHOBREAL <Ghobreal.Joseph@abc.net.au>
Cc: "html-tidy@w3.org" <html-tidy@w3.org>

Thanks for your respond

Yes exactly,
I get 
  <foo>
    <baz>
    </baz>
  </foo>
but I want 
  <foo>
    <baz></baz>
  </foo>
with no space or carriage return between the two empty tags


By the way, I also use tidy as an object in my DELPHI project, the tidy function
is called within my Delphi Application.

Joseph



-----Original Message-----
From: Bjoern Hoehrmann 
Sent: Tuesday, 20 May 2003 04:07 AM
To: JOSEPH GHOBREAL
Cc: html-tidy@w3.org
Subject: Re: Tidy adding returns inside xml elements


* JOSEPH GHOBREAL wrote:
>I was searching the net for a solution for the problem mentioned above,
>can you send me the patch to fix this problem.

So you have

  <foo><bar/><baz></baz></foo>

and want

  <foo><bar/><baz></baz></foo>

but Tidy gives

  <foo>
    <bar />
  
    <baz>
    </baz>
  </foo>

and that's a problem?
Received on Monday, 19 May 2003 19:38:06 GMT

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