W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2003

More options to control my output

From: Strempel, Torsten-Karl <Torsten-Karl.Strempel@t-systems.com>
Date: Thu, 20 Nov 2003 16:42:20 +0100
Message-Id: <9F8582E37B2EE5498E76392AEDDCD3FE0662BBB9@G8PQD.blf01.telekom.de>
To: html-tidy@w3.org

Dear Sirs,

I have tried html-tidy but the output it produces destroys most of my document structure.

As I am working with Textpad a text based editor I need an optical structure to see sections in my document.

I have configured the output with

//TKS-Datei für HTML-Tidy
output-xhtml:yes
wrap:0
markup:yes
indent:auto
indent-attributes: no
vertical-space: yes
new-pre-tags: <a> <img> 
new-blocklevel-tags: <a> <img>
new-inline-tags: <a> <img>

but <a>- and <img>-Tags are not treated as I wish

Rather than

<td align="center"><a href="Gruppe01.jpg"><img src="tn_Gruppe01_jpg.jpg" border="0" alt="Gruppe01.jpg" width="192" height="144" /><br />
Gruppe01.jpg</a><br />
888.03 Kb</td>

I would want to get

<td align="center">
  <a href="Gruppe01.jpg"><img src="tn_Gruppe01_jpg.jpg" border="0" alt="Gruppe01.jpg" width="192" height="144" /><br /> Gruppe01.jpg</a><br />
  888.03 Kb
</td>

or

<td align="center">
  <a href="Gruppe01.jpg"><img src="tn_Gruppe01_jpg.jpg" border="0" alt="Gruppe01.jpg" width="192" height="144" /><br /> Gruppe01.jpg</a><br />  888.03 Kb
</td>

or 

<td align="center">
  <a href="Gruppe01.jpg">
    <img src="tn_Gruppe01_jpg.jpg" border="0" alt="Gruppe01.jpg" width="192" height="144" /><br />
    Gruppe01.jpg
  </a><br />
  888.03 Kb
</td>

Are there other options? Is my cfg-File correct?

As my untidied files look good in the browser I am not interested in an 100% conform output (Be aware that indent yes is deprecated for production use as it will cause visual changes in most browsers...)

I would thank anyone giving me a hint!

Sincerly

Torsten-Karl Strempel
Received on Thursday, 20 November 2003 10:44:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC