Re: tidy?

* david sutherland wrote:
>  <input type="hidden" name="recipient" value="formtest@iohio.org">
>  <input type="hidden" name="redirect" value="http://www.equis-o.com/confirmacionencuesta.htm">
>  <input type="hidden" name="subject" value="Form">
>  <input type="hidden" name="sort"value="order:>
>  <input type="hidden" name="print_blank_fields" value="1">
>  <input type="hidden" name="print_config" value="email">
>
>and now it's like this:

>why does TIDY make the code untidier?

Because it considers <input> elements inline elements. If you have

  <p>Enter some text <input ...> and some more text <input ...>.</p>

You probably don't want Tidy to output

  <p>Enter some text
  <input ...>
  and some more text
  <input ...>
  .</p>

Because that's aswell "untidier" and even changes how the document gets
rendered since it introduces whitespace between the second <input> and
the ".".

Received on Monday, 9 February 2004 09:47:11 UTC