<div dir="ltr"><div>Hi,<br><br></div>As far as I understood the reference page:<br><div><br>Original code:<br>=====<- - - - -<br>Markup_e( 'NZTopo', # an internal PmWiki function that defines the custom markup for the wiki (see <a href="http://www.pmwiki.org/wiki/PmWiki/CustomMarkup">http://www.pmwiki.org/wiki/PmWiki/CustomMarkup</a>)<br> 'directives',<br> "/\\(:nztopo (" . $qlocale . ")\s*(?:" . $qmods . "){0,7}\s*:\\)/i", # <br> "Keep(NZTopo_Parse(\$m[1], \$m[2], \$m[3], \$m[4], \$m[5], \$m[6], \$m[7], \$m[8], \$m[9]))" );<br>=====<- - - - -<br><br><br></div><div>Untested replacement code:<br>=====<- - - - -<br></div><div>Markup( 'NZTopo', # an internal PmWiki function that defines the custom markup
for the wiki (see <a href="http://www.pmwiki.org/wiki/PmWiki/CustomMarkup">http://www.pmwiki.org/wiki/PmWiki/CustomMarkup</a>)<br> 'directives',<br> "/\\(:nztopo (" . $qlocale . ")\s*(?:" . $qmods . "){0,7}\s*:\\)/i", #<br></div><div> "NZTopoMarkup");<br></div><div><br>function NZTopoMarkup($m) {<br></div><div> return Keep(NZTopo_Parse(\$m[1], \$m[2], \$m[3], \$m[4], \$m[5], \$m[6], \$m[7], \$m[8], \$m[9]));</div><div>}<br></div><div>=====<- - - - -<br><br><br><br>On Mon, Jun 19, 2017 at 8:39 AM, Simon <<a href="mailto:nzskiwi@gmail.com">nzskiwi@gmail.com</a>> wrote:<br>><br>> I have a recipe I'd like to update for PHP 7.2.<br>> I checked Custom Markup, which states that markup_e is deprecated.<br>> Are there instructions for replacing markup_e available<br>><br>> tia<br>><br>> Simon<br>><br>> _______________________________________________<br>> pmwiki-devel mailing list<br>> <a href="mailto:pmwiki-devel@pmichaud.com">pmwiki-devel@pmichaud.com</a><br>> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-devel">http://www.pmichaud.com/mailman/listinfo/pmwiki-devel</a><br>><br><br><br><br>--<br>Dominique</div></div>