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

Re: tidy?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 09 Feb 2004 15:47:01 +0100
To: "david sutherland" <david@ambidextro.com>
Cc: <html-tidy@w3.org>
Message-ID: <402f9c92.515641473@smtp.bjoern.hoehrmann.de>

* 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 ...>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC