possibly a bug regarding IMG ALT attributes?

Hi Dave,

I am calling Tidy 13Jan2000 from a (perl) script with some command line 
options (line breaks added for readability) as follows:

"tidy13jan00 -f /dev/null -quiet -latin1
--wrap 0
--wrap-attributes no
--indent auto
--tidy-mark no
--uppercase-tags yes
--uppercase-attributes yes
--alt-text ''
--doctype '-//W3C//DTD HTML 4.0 Transitional//EN'"

The to-be-parsed HTML code comes via STDIN.

If the input is following line:
<IMG WIDTH=60 HEIGHT=1 BORDER=0 ALT="" SRC="/images/blank.gif">

Tidy's output (HTML Document structure is stripped) looks like this:
<IMG WIDTH="60" HEIGHT="1" BORDER="0" ALT="SRC=/images/blank.gif">


Of course that cannot be wanted, I just have no idea (yet) what causes this 
problem. If anybody could point me into the right direction, I'd greatly 
appreciate this.


Sebastian Lange

Received on Wednesday, 19 April 2000 09:44:17 UTC