[pmwiki-users] pmwiki - tag resolution in recipe

Patrick R. Michaud pmichaud at pobox.com
Tue Mar 4 07:52:45 CST 2008


On Tue, Mar 04, 2008 at 07:17:50AM +0100, Patrick Ogay wrote:
> I a recipe I generate a text, with a tag like:
> (:generatesometextdependingonsomething:)
> And I like to format it like in pmwiki edit.
> 
> I tryed, concatinated in my $files string:
> 
>    $src = "'''Titel'''";
>    $fmt = FmtPageName($src, $pagename);    <====
>    $files .= "$pagename-$src";
>    $files .= $fmt;
>    return $files;
> 
> Result is
> SandBox-'''Titel''''''Titel'''   (should instead of Bold) on site

When is the (:generatesometextdependingonsomething:) markup
being processed?  If it's being done after the "inline" markups
(i.e., the ones that handle '''), then PmWiki won't see the
''' and convert them to bold.

Pm



More information about the pmwiki-users mailing list