[pmwiki-users] colons in arguments to markup expressions

Peter Bowers pbowers at pobox.com
Thu Sep 11 15:49:09 CDT 2008


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)}

and thus it gets placed in $argp as ($argp['abc']=>'def') instead of
$args[1] as 'abc:def'

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)...

Any suggestions?  Any workarounds?

-Peter



More information about the pmwiki-users mailing list