Re: Tell tidy to only do indenting

Bjoern Hoehrmann <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
* David Koch wrote:
>I used Tidy to indent some hideously hard to read (auto-generated ?) HTML. 
>However, the rendered layout is not the same afterwards. Tidy reports no 
>errors, only warnings and some tags are added/removed.

Note that for Tidy an error means it cannot parse the document at all,
you get warnings for anything else. That the rendering is different may
be caused by various things, for example, Tidy might have added a <!DOC-
TYPE> and some browsers change the rendering depending on that. There is
no way to let Tidy only change the indentation.
-- 
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.