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

<option>text</option> not tidied up correctly?

From: Steve Deszpoth <sdeszpoth@724.com>
Date: Tue, 12 Oct 1999 11:14:52 -0400
Message-ID: <BF2A97E56F4BD311AB0A009027858CDF1875D1@mail.724.com>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
Hi. This code:
<select NAME="TP">
    <option value="S" Selected>STOCK
    <option value="F">FUND
    <option value="I">INDEX
</select>  
converts to this code after I run HTML-Tidy:
<P>Type: <SELECT NAME="TP">
<OPTION VALUE="S" SELECTED></OPTION>
<OPTION VALUE="F"></OPTION>
<OPTION VALUE="I"></OPTION>
</SELECT></P>

and I get a warning: 
discarding unexpected plain text
Is this a bug?
thanks

Steve Deszpoth
(p)416-226-2900 x3220
(c)919-1148
(f)226-4456
email: sdeszpoth@724.com
Received on Tuesday, 12 October 1999 11:15:00 GMT

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