W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2002

Re: Break tags in paragraphs.

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 12 Oct 2002 02:53:03 +0200
To: Dave Raggett <dsr@w3.org>
Cc: Tidy Main List <html-tidy@w3.org>
Message-ID: <3deb7165.187852657@smtp.bjoern.hoehrmann.de>

* Dave Raggett wrote:
>On Fri, 11 Oct 2002, Bjoern Hoehrmann wrote:
>> So, in general I agree with removing <br />s at such places, but I'd
>> like to see a better thought out solution than just this <p><br> special
>> case.
>One specific case where it would be inappropriate would be where
>the br element includes the clear attribute.

This raises the question whether Tidy should remove it at all, since an
associated style sheet may specify the 'clear' behaivour. What about
warning about occurences of <br> at such places in general and
automatically remove them if they don't have a class or id attribute or
the clear attriubte has a different value than "none"?

>In the clean option, this could be mapped to the corresponding
>CSS property on the p element.

Agreed with the same reservation as above.
Received on Friday, 11 October 2002 20:52:56 UTC

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