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

_______________________________________________
pmwiki-devel mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to