Re: Preventing Tidy from eating spaces

Bjoern Hoehrmann <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
* Trevor Harmon wrote:
>I've tried altering several of tidy's configuration options, but  
>nothing I do tells tidy to preserve that space. Is there an option  
>I'm missing that will do the trick? Thanks,

There is not. The problem here is that all white space in XML documents
is potentially significant, so Tidy could not add or remove any of it,
and consequently not really pretty print it. However, it is designed to
pretty print, so it makes various assumptions about your document. At
times, these assumptions turn out to be incorrect. Patches welcome, but
don't expect this to change any time soon.
-- 
Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.