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

Re: Just beautify, no cleanup

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 22 May 2008 14:33:48 +0200
To: <george.lewe@lhsystems.com>
Cc: <html-tidy@w3.org>
Message-ID: <mopa34lggrcvo4ur5bchugg29jd0klg2ba@hive.bjoern.hoehrmann.de>

* <george.lewe@lhsystems.com> wrote:
>I do not want Tidy to change ANY content. I just want indentation. Is
>that possible? I don't seem to get it to work with the parameters.

There are some options that will prevent some modifications, the tidy-
mark option for example can be used to prevent adding a meta generator
element. It might be worthwhile to write up the combination of options
that will minimize modifications. Note however that some modifications
are essentially impossible to prevent for any tool, many errors have
to be fixed for example, and some information is usually lost, like if
you used &#x0000f6; in place of &#xf6;. Reformatting without making
such changes would be very difficult.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · 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/ 
Received on Thursday, 22 May 2008 12:34:34 GMT

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