Petko Yotov writes:
Peter K.H. Gragert writes:
Markup('galleria', 'inline', "/\\(:galleria\\s*(.*?):\\)/se", "Keep($galleria_fn(PSS('$1')))");

This can probably be fixed this way (untested):

 Markup_e('galleria', 'inline', "/\\(:galleria\\s*(.*?):\\)/s",
   "Keep($GLOBALS['galleria_fn']($m[1]))");

Sorry, this should be more like this:

  Markup_e('galleria', 'inline', "/\\(:galleria\\s*(.*?):\\)/s",
    "Keep(\$GLOBALS['galleria_fn'](\$m[1]))");

(in the last line there should be \ before the $ signs).

This is for any recipe: it may be a good idea to try contacting the maintainer of the recipe who will be more competent on ways how to upgrade their recipes. Read the recipe page and/or the profile page to see how she/he prefers to be contacted - on the talk page, via private e-mail or on the mailing list. If the author/maintainer of the recipe cannot update it, please leave us a message at:

 http://www.pmwiki.org/wiki/PITS/01319

Petko


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to