[pmwiki-users] colons in arguments to markup expressions

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 11 16:51:21 CDT 2008


On Thu, Sep 11, 2008 at 10:49:09PM +0200, Peter Bowers wrote:
> Is there any way to include a colon in an argument to a markup expression?
> 
> I'm trying to do this:
> 
>    {(echo abc:def)}
> 
> and ParseArgs() interprets that as if I had done this:
> 
>    {(echo abc=def)}

FWIW,  {(echo "abc:def")}  should work.

> I see that ParseArgs() supports an optional parameter for the
> separator, but there's no way to access that within markupexpr.php
> that I can see (without editing this core file which I'm not
> interested in doing)...

I think you're correct about that, which is partially why the
quoted form is available.

Pm



More information about the pmwiki-users mailing list