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

Option tag text being discarded............

From: Marko Djukic <mdjukic@dial.pipex.com>
Date: Thu, 11 May 2000 07:27:02 -0400 (EDT)
Message-ID: <000501bfbb7f$3530e220$1590bc3e@default>
To: <html-tidy@w3.org>
Guys,
    Find below the before and after code segments using option tags, after
code sweeper has been run.

    As you can see, the option text has been stripped for some
reason.........is there a fix for this??

Regards

Marko Djukic

<!-- Original HTML document -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
 <title>Untitled</title>
</head>

<body>
<select name="select1">
  <option value="1">line 1</option>
  <option value="2">line 2</option>
  <option value="3">line 3</option>
  <option value="4">line 4</option>
  <option value="5">line 5</option>
</select>

</body>
</html>

<!-- and then running HTML Tidy, the option text lines are removed-->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <title>
      Untitled
    </title>
  </head>
  <body>
    <select name="select1">
      <option value="1">
      </option>
      <option value="2">
      </option>
      <option value="3">
      </option>
      <option value="4">
      </option>
      <option value="5">
      </option>
    </select>
  </body>
</html>
Received on Sunday, 14 May 2000 10:16:34 GMT

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