[pmwiki-users] (:markup:) and page variables bug

Patrick R. Michaud pmichaud at pobox.com
Fri Mar 2 09:40:53 CST 2007


On Fri, Mar 02, 2007 at 10:32:20AM -0500, Scott Connard wrote:
>    I stumbled on an odd (:markup:) problem.  Page variables inside a
>    (:markup:) in a GroupFooter displays a very odd result. Using the
>    following in a page is okay, but in the GroupFooter is odd:
>    (:markup:)
>    * {$Name}
>    (:markupend:)

I'm not surprised.  The way that relative page variables are
handled means that {$Name} gets converted to something else,
and PmWiki doesn't automatically recognize (:markup:)...(:markupend:)
as escaping its contents.

You might instead try

    (:markup:) [=
    * {$Name}
    =]

At any rate, (:markup:) is just one of those places where weird
things can happen, because we're trying to "trick" the markup
engine into doing something it wasn't really designed to do.

Pm



More information about the pmwiki-users mailing list