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

Re: line breaking bug in tidy

From: Bob Long <bob@oblong.com.au>
Date: Tue, 30 Jan 2001 08:49:25 +1000
Message-ID: <017101c08a45$bc346220$0200a8c0@bob>
To: <html-tidy@w3.org>
Cc: "Volker Kuhlmann" <kuhlmav@elec.canterbury.ac.nz>
----- Original Message -----
From: "Volker Kuhlmann" <kuhlmav@elec.canterbury.ac.nz>
To: <html-tidy@w3.org>
Sent: Thursday, January 25, 2001 12:30 PM
Subject: line breaking bug in tidy

[snip]

> Another minor thing: tidy replaces the <p> in
>
> <P><HR size="3" noshade width="100%"></P>
>
> with a <br>. I don't like that. Can I prevent that somehow?

The above is not correct HTML.
http://www.htmlhelp.com/reference/html40/block/p.html says "Note that P
cannot contain block-level elements..." and HR is a block level element. So
Tidy is correct, it would seem to me.

Bob Long
www.oblong.com.au

> A suggestion: start indentation at a higher level, inserting 2 spaces
> between <body>..</body> is a waste of line space - I always know where
> the body tags are.
>
> Volker
>
> --
> Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz>
> http://volker.orcon.net.nz/
>
Received on Monday, 29 January 2001 17:49:36 GMT

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