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

Re: Tell tidy to only do indenting

From: howard chen <howachen@gmail.com>
Date: Fri, 5 Jan 2007 23:23:17 +0800
Message-ID: <b66ddc900701050723y77ae3e9ej69d6b83715ad1775@mail.gmail.com>
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>
Cc: "David Koch" <david.koch@xrce.xerox.com>, html-tidy@w3.org

On 1/5/07, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:
>
> * 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: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/
>
>

I face the exact same problem...we only want to Tidy to indedent or
line break the document...but should not modify the tags...
Received on Friday, 5 January 2007 15:29:24 GMT

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