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

problem with xml containing html

From: David Klein <david.klein-eds@eds.com>
Date: Fri, 17 Oct 2003 11:13:46 +0200
To: html-tidy@w3.org
Message-Id: <1066382026.30810.19.camel@ep167691.tdc.de.eds.com>

Hello tidy list,

I'm using tidy with an xml document that contains html.  When I run the
following command, spaces after the anchor tags are removed since it
reformats the document like normal xml.  Can I have tidy ignore anchor
tags?

/usr/local/bin/tidy -xml -iqm $file

untidied: <a href="blah">blah</a> hello world
tidied: <a href="blah">blah</a>hello world

notice the space after "</a>" is removed.

Any suggestions?

Thanks in advance,
-- 
David Klein
EDS Deutschland GmbH
EAD DP Unix Server Mgmt.
Eisenstr. 58
D-65428 Ruesselsheim
Tel   :  +49-6142-80-1313
Fax   :  +49-6142-80-1018
Mail  : david.klein-eds@eds.com
Received on Friday, 17 October 2003 05:17:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC