Re: deleted empty P tag

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 UTC