W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2010

HTML Tidy for form option elements

From: Ace Frahm <ace.frahm@gmail.com>
Date: Mon, 4 Jan 2010 20:11:34 -0700
To: <html-tidy@w3.org>
Message-ID: <4b42ae1e.8802be0a.2a3a.5709@mx.google.com>
Hello HTML Tidy dev team!

 

I could use your help.

 

How do I get HTML Tidy to put HTML form option element on one line with no
space in between?

 

It is doing this:

 

 

      <option value="18">

        18

      </option>

 

      <option value="19">

        19

      </option>

 

      <option value="20">

        20

      </option>

 

 

But I want it to do this:

 

 

      <option value="18">18</option>

      <option value="19">19</option>

      <option value="20">20</option>

 

 

 

Any ideas?

 

Thank you,

 

Ace Frahm
Received on Tuesday, 5 January 2010 08:29:25 GMT

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