[Pmwiki-users] prevent generation of empty <p></p>
stefan mueller
s.mueller
Wed Sep 1 11:00:00 CDT 2004
is there a way to prevent the generation of empty paragraphs (<p></p>)?
typically, the following two wiki execerpts should result in the same
layout:
(1)---------
Aliquam massa lectus, aliquet nec, aliquam in, dictum id, magna.
! Aenean sit amet Mauris
In odio nunc, volutpat at, semper at, elementum ac, orci. Aenean sit
amet mauris vitae erat placerat
(2)---------
Aliquam massa lectus, aliquet nec, aliquam in, dictum id, magna.
! Aenean sit amet Mauris
In odio nunc, volutpat at, semper at, elementum ac, orci. Aenean sit
amet mauris vitae erat placerat
...but pmwiki inserts <p></p> before and after the <h1></h1> in the
second case, resulting in unintended margins. typically, any editor
uses the second case to make the wiki text more readable.
anyway, pmwiki is really cool, i just love it!!!
cheers /stefan
--
| mailto:s.mueller at computer.org http://www.corebounce.org/radar
More information about the pmwiki-users
mailing list