- From: howard chen <howachen@gmail.com>
- Date: Fri, 5 Jan 2007 23:23:17 +0800
- 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 UTC