W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2002

tidy erasing images

From: jnjnm20 <jnjnm20@uas.alaska.edu>
Date: Mon, 08 Jul 2002 08:41:48 -0800
Message-ID: <3D29C0CC.9060102@uas.alaska.edu>
To: html-tidy@w3.org

Anyone know why my images are getting tidied out? The input is mostly
clean XHTML with a doc type specified. I'm using the win32 tidy program
from source forge and the default does not treat docs for Word2000
formatting. Ideas? Any help with this would be greatly apprecited.

Calls from a bat file look like:
tidy -m -config tidyconfig.txt lw.html 2>> tidyerror.log
tidy -m -config tidyconfig.txt newFeatures.html 2>> tidyerror.log
tidy -m -config tidyconfig.txt template.html 2>> tidyerror.log


//tidyconfig.txt:
tidy-mark: no
indent: auto
indent-spaces: 2
wrap: 0
markup: yes
output-xhtml: yes
enclose-text: yes
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, code, pre
new-empty-tags: cfelse
new-pre-tags: code
show-errors: 2
show-warnings: 0

//pre tidy input looks like:
<blockquote> <a href="http://www.apple.com/quicktime/download/"><img
src="../../../images/qtlogosm.gif" width="29" height="28" border="0"
alt="quick time" /></a> Quick Time: small, medium, large formatt<br /><a
href="http://www.real.com/"><img src="../../../images/reallogosm.gif"
width="29" height="25" border="0" alt="real" /></a> Real: <a
href="lakewars01.rm">small</a>, <a href="lakewars02.rm">medium</a>,
       <a href="lakewars03.rm">large formatt</a><br /> <a
href="http://www.microsoft.com/windows/windowsmedia/download/"><img
src="../../../images/wmt-player-icon.gif" width="29" height="30"
border="0" alt="windows media" /></a> Windows Media: <a
href="lakewars01.asf">small</a>, <a
href="../bb/lakewars02.asf">medium</a>, <a href="lakewars03.asf">large
formatt</a> </blockquote>

//after tidy looks like:
<blockquote>
               <a href="http://www.apple.com/quicktime/download/"></a>
Quick Time: small, medium, large formatt <a
href="http://www.real.com/"></a> Real: <a
href="lakewars01.rm">small</a>, <a href="lakewars02.rm">medium</a>, <a
href="lakewars03.rm">large formatt</a> <a
href="http://www.microsoft.com/windows/windowsmedia/download/"></a>
Windows Media: <a href="lakewars01.asf">small</a>, <a
href="../bb/lakewars02.asf">medium</a>, <a href="lakewars03.asf">large
formatt</a>
             </blockquote>
Received on Monday, 8 July 2002 12:43:05 GMT

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