[pmwiki-users] found it: custom vspace broke
John Rankin
john.rankin at affinity.co.nz
Sun Sep 17 21:37:31 CDT 2006
On Monday, 18 September 2006 1:58 PM, John Rankin <john.rankin at affinity.co.nz> wrote:
>At some point, a pmwiki version change broke the pdf
>vspace handler and I can't see how to fix it.
>
>I have these markup rules:
>## honour list spacing
>$HTMLVSpace = '<vspace/>';
>Markup('skipi','>^<:',
> "/<vspace\\/>(<\/tbook:item><tbook:item)>/",'$1 skip="med">');
>Markup('skipt','>^<:',
> "/<vspace\\/>(<\/tbook:item><tbook:term)>/",'$1
>skip="small">');
>
>This no longer works. I found the problem in 2.1.25 but
>I don't know when it broke.
>
Got it: I need to set $Transition['vspace'] = 0;
Otherwise, $HTMLVSpace gets set to "<p class='vspace'></p>"
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list