[pmwiki-devel] Collapsing vspaces
Eemeli Aro
eemeli at gmail.com
Wed Jan 30 06:30:05 CST 2008
Why are vspace elements only collapsed with subsequent <p> elements?
Looking at the original thread on this and
<http://host.pmichaud.com/pipermail/pmwiki-users/2006-April/026273.html>
in particular, I can't find any reason why vspaces aren't collapsed
with other block-level elements in the markup. Also, enabling this
doesn't seem to have any detrimental effects.
Here's the code I'm using:
Markup('<vspace><tag>', '><vspace><p>',
"/<vspace><(\\w+)\\b(([^>]*)(\\s)class=(['\"])([^>]*?)\\5)?/",
"<$1$3 class='vspace$4$6'");
Am I missing something?
eemeli
More information about the pmwiki-devel
mailing list