[Pmwiki-users] Text in <p> tag

Patrick R. Michaud pmichaud
Tue Apr 6 15:39:41 CDT 2004


On Tue, Apr 06, 2004 at 04:31:12PM -0500, Eric Celeste wrote:
> Why not use "<p />" instead of "<p></p>"?

PmWiki used to use "<p />" in version 0.5, but the W3C XHTML 1.0
recommendations explicitly say to always use <p></p> instead of
<p /> because the paragraph element's content model is not EMPTY.
So I switched it to <p></p>.  See http://www.w3.org/TR/xhtml1/#C_3 .

This is all controlled by the $HTMLVSpace variable, so you can
have PmWiki output anything you want (including "<p />") to
indicate vertical space between sections of text.

Pm



More information about the pmwiki-users mailing list