W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2004

Re: tidy loses spaces after inline tags

From: Jany Quintard <jany.quintard@free.fr>
Date: Tue, 24 Feb 2004 14:22:08 +0100
To: html-tidy@w3.org
Message-ID: <20040224132207.GF10902@raisin>

* Jean Jordaan [Tue, 24/02/2004 at 14:50 +0200]
> 
> Hi all.
> 
> I'm just a happy tidy luser. I've just upgraded to
> HTML Tidy for Linux/x86 released on 1st October 2003
> and I'm seeing some breakage where I didn't before. When processing
> an XML document containing this::
> 
>     <application>Creme</application> is not so much a single
>     application, as an <emphasis>integration</emphasis> of a wide
>     range of Open Source components.
> 
> the result is this::
> 
>     <application>Creme</application>is not so much a single
>     application, as an
>     <emphasis>integration</emphasis>of a wide range of Open Source
>     components.
> 
> When I generate HTML from this, I get "Cremeis" and "integrationof"
> instead of "Creme is" and "integration of". Is there a way to tell
> tidy not to throw the spaces away?
> 
> I tried 'tidy -xml --indent auto' and 'tidy -xml'.

Did you try this: tidy -i -xml -asxml

This file:
<test><application>Creme</application> is not so much a single
    application, as an <emphasis>integration</emphasis> of a wide
    range of Open Source components.</test>

gives this:
<test>
<application>Creme</application>

is not so much a single application, as an 
<emphasis>integration</emphasis>

of a wide range of Open Source components.</test>

Jany
Received on Tuesday, 24 February 2004 08:22:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:53 UTC