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

Re: deleted empty P tag

From: Sebastian Lange <lange@cyperfection.de>
Date: Tue, 12 Dec 2000 09:37:20 +0100
Message-Id: <4.3.2.7.2.20001212093531.018a6308@pop3.cyperfection.de>
To: html-tidy@w3.org
Bonjour Denis,

At 20:01 11.12.2000 +0100, Denis Queffeulou wrote:
>Is it normal that JTidy deletes <p></p> ?

...yes, it is:

drop-empty-paras
If set to yes, empty paragraphs will be discarded. If set to no, empty 
paragraphs are replaced by a pair of br elements as HTML4 precludes empty 
paragraphs. The default is yes.
--
Sebastian Lange
http://www.sl-chat.de/
Maybe the first chat site that validates as HTML
4.0 even though user input may contain HTML codes.

Courtesy to Dave Raggett's HTML Tidy:
http://www.w3.org/People/Raggett/tidy/

Tidy your documents ONLINE:
http://www.sl-chat.de/Tidy/
Received on Tuesday, 12 December 2000 03:37:23 GMT

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