W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

possibly a bug regarding IMG ALT attributes?

From: Sebastian Lange <lange@cyperfection.de>
Date: Wed, 19 Apr 2000 15:45:06 +0200
Message-Id: <>
To: html-tidy@w3.org
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

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