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

Re: Hint tidy that br is always empty

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 17 Nov 2004 18:43:37 +0100
To: Markus Bertheau ? <twanger@bluetwanger.de>
Cc: html-tidy@w3.org
Message-ID: <419b8da9.1598421@smtp.bjoern.hoehrmann.de>

* Markus Bertheau ? wrote:
>> >2. Because <br> is an empty element in HTML its contents is not rendered
>> >by the browser. How can I teach tidy that when it sees <br> to just make
>> >that <br/>? How can I teach it XHTML semantics (while still allowing
>> >arbitrary valid tags)?
>> That's not currently possible, you need to declare the new elements.
>I don't quite understand that - is it not possible, or is it possible by
>declaring new elements? By declaring new elements, do you mean new-
>blocklevel-tags and friends?

Well, you ware asking for arbitrary elements, that's not possible,
specific, declared elements are possible (using new-foo-tags, right).
Received on Wednesday, 17 November 2004 17:44:11 UTC

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