- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Fri, 05 Jan 2007 16:44:26 +0100
- To: "howard chen" <howachen@gmail.com>
- Cc: "David Koch" <david.koch@xrce.xerox.com>, html-tidy@w3.org
* howard chen wrote: >> 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. > >I face the exact same problem...we only want to Tidy to indedent or >line break the document...but should not modify the tags... But in order to indent the document Tidy has to understand the structure of the document. If you have, say <div>...<p>...</div>...</div> you have nested the tags improperly. Tidy corrects the nesting and pretty prints the result. If you have properly structured the document, Tidy should not make changes with major impact on the document. There are a few more changes Tidy might make that are not yet configurable for which we could introduce new config options, but Tidy will always restore a sensible document structure first. -- 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 Friday, 5 January 2007 15:44:38 UTC