<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 1, 2016 at 10:29 PM, Alexander Cherry <span dir="ltr"><<a target="_blank" href="mailto:lxndr@asu.edu">lxndr@asu.edu</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><p style="margin-top:1.33em;margin-bottom:0px;color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:14.6667px;line-height:19.5067px">As it is written, it is giving that preg_replace_callback error and a diagnostic (action ruleset) gave me this:</p><p style="margin-top:1.33em;margin-bottom:0px;color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:14.6667px;line-height:19.5067px"><code style="font-size:0.9em;font-family:"lucida console","andale mono","courier new",courier,monospace">toc >nl1 B>><>> ! file: /home/public/confessional/cook<wbr>book/slimtoc.php, line: 167, pat: /\(:([#\*])?toc:\)(.*)$/se</code></p><p style="margin-top:1.33em;margin-bottom:0px;color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:14.6667px;line-height:19.5067px">checking line 167 showed me a function using Markup changing Markup to Markup_e gave me yet another error</p></blockquote></div><br><br></div><div class="gmail_extra">Changing Markup(...) to Markup_e(...) is not enough. You have to work through the contents of the "...". Please see this page/section:<br><br><a href="http://www.pmwiki.org/wiki/PmWiki/CustomMarkup#php55">http://www.pmwiki.org/wiki/PmWiki/CustomMarkup#php55</a><br><br></div><div class="gmail_extra">-Peter<br></div></div>