[pmwiki-users] Flipbox recipe and preg_replace

Johan Bengtsson elijah at chalmers.se
Tue Jul 16 05:32:34 PDT 2019


https://www.pmwiki.org/wiki/Cookbook/Flipbox


I believe this recipe still suffers from the preg_replace probs:

[elijah at peach cookbook]$ grep -n \/e flipbox.php
36:  Markup('flipbox_pre', '<[=', "/(\\[[$FlipboxChoices]{1,3})(\\])/e", 
"FmtPreFlipbox('$1', '$2')");
37:  Markup('flipbox', 'inline', 
"/\\[([$FlipboxChoices]{1,3})\t\t\t(\\d+)\t\t\t\\]/e",

It is disabled in our wiki so not top priority, but I think one or two of our 
users liked it...

-Johan Bengtsson



More information about the pmwiki-users mailing list