- From: Randy Waki <rwaki@flipdog.com>
- Date: Wed, 2 Aug 2000 23:12:06 -0600
- To: <html-tidy@w3.org>
If an option element contains an illegal font element followed by whitespace and some text, 08-Jul-2000 Tidy eats the whitespace, causing words to run into each other. I'm temporarily working around this by having ParseText change the mode from IgnoreWhitespace to MixedContent when the illegal font is detected, but I'm not so sure that's the right fix. ------------------------ Example HTML document ------------------------- <html> <head> <title></title> </head> <body> <form method="get"> <select name="select"> <option value="1"> Tidy <font size="7"> gets </font> this right </option> <!-- The following gets tidied into "Tidy getsthis wrong" --> <option value="2"> Tidy <font size="7"> gets</font> this wrong </option> </select> </form> </body> </html> ------------------------------------------------------------------------ Randy
Received on Thursday, 3 August 2000 01:13:44 UTC