[pmwiki-users] How do I control $HTMLVSpace?
John Rankin
john.rankin at affinity.co.nz
Thu Aug 25 17:55:37 CDT 2005
On Friday, 26 August 2005 10:27 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>But I think we're getting closer. Rather than worry about what
>might happen if PmWiki changes the value of $HTMLVSpace, just
>explicitly set it to be whatever you want. For example,
>you could set:
>
> $HTMLVSpace = "<xyz>";
We'll set it to '<skip>'.
>
>and then later you can do:
>
> ## honour list spacing
> Markup('skip','>^<:',
> "/<xyz>(<\/tbook:item><tbook:(?:item|term))>/",
> '$1 skip="med">');
>
>Then just eliminate any <xyz>'s you see in the output. In fact,
>I think they'll get eliminated anyway by your later rule that
>removes non-namespace-qualified elements.
They will. Thank you, as always.
(Inching towards beta 1)
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list