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

TidyCOM, DHTML, attributes incorrect parsing

From: Patrick O Neill <pat_o_neill@yahoo.com>
Date: Tue, 17 Apr 2001 11:40:45 -0400 (EDT)
Message-ID: <20010417152059.72376.qmail@web12506.mail.yahoo.com>
To: html-tidy@w3.org
Hi

I have the following 

<A class=hypelinkoff href='index.asp?ItemID=39' id=I39
onmouseout=this.className='hypelinkoff';
onmouseover=this.className='hypelinkon'; target=_Blank
>Developers </A>

pass it through the Tidy COM object with the following
settings

objTidy.Options.doctype = "strict"
objTidy.Options.DropFontTags = False
objTidy.Options.OutputXhtml = False
objTidy.Options.indent = 2
objTidy.Options.TabSize = 8
objTidy.Options.TidyMark = False ' suppress meta tag
generation
objTidy.Options.Wrap = 0 ' disable line wrapping
objTidy.Options.WrapAttributes = True
objTidy.Options.LiteralAttributes = True

and I get the following

<a class="hypelinkoff" href='index.asp?ItemID=39'
id="I39" onmouseout="this.className="
onmouseover="this.className="
target="_Blank">Developers</a>

notice how the class names have disappeared. Any help
greatly appreciated

regards
Pat

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
Received on Tuesday, 17 April 2001 13:41:04 GMT

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