- From: David Koch <david.koch@xrce.xerox.com>
- Date: Fri, 05 Jan 2007 10:06:32 +0100
- To: html-tidy@w3.org
Hello, 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. I only need to make minor changes in the HTML document and I absolutely want to retain the original rendered layout. I set indent: auto to make sure it had nothing to do with line breaks, as suggested on the Tidy page. Is there an option to tell Tidy NOT to modify the HTML and just do indenting? Since there are no errors in the HTML you would think that this does not interfere with the way tidy operates. I include the config file. Thanks, David My .cfg file straight from: http://www.w3.org/People/Raggett/tidy/ // sample config file for HTML tidy indent: auto indent-spaces: 2 wrap: 72 markup: yes output-xml: no input-xml: no show-warnings: yes numeric-entities: yes quote-marks: yes quote-nbsp: yes quote-ampersand: no break-before-br: no uppercase-tags: no uppercase-attributes: no char-encoding: latin1 new-inline-tags: cfif, cfelse, math, mroot, mrow, mi, mn, mo, msqrt, mfrac, msubsup, munderover, munder, mover, mmultiscripts, msup, msub, mtext, mprescripts, mtable, mtr, mtd, mth new-blocklevel-tags: cfoutput, cfquery new-empty-tags: cfelse
Received on Friday, 5 January 2007 13:02:11 UTC