- From: bruce draper <bruce@talisentech.com>
- Date: Fri, 23 Jun 2006 15:33:41 -0500
- To: html-tidy@w3.org
i am using tidy released on 1 sept 2005 with the default config.
i have html with select lists containing <option> tags with empty bodies.
for example, as in the following html snippet
<html>
<body>
<br>
select a value: <select name="test0">
<option value="" selected></option>
<option value="one">1</option>
<option value="two">2</option>
</select>
<br>
</body>
</html>
what i see is tidy removing ("trimming") my empty <option> tag with the
following warning:
line 5 column 1 - Warning: trimming empty <option>
can i disable that action using the tidy config since i would like to keep
my empty options? if yes, how?
thanks.
bruce draper
Received on Saturday, 24 June 2006 02:14:10 UTC