[pmwiki-users] Fixing an abandoned Cookbook recipe (SlimTableOfContents)

Peter Bowers pbowers at pobox.com
Fri Sep 2 16:18:37 CDT 2016


On Thu, Sep 1, 2016 at 10:29 PM, Alexander Cherry <lxndr at asu.edu> wrote:

> As it is written, it is giving that preg_replace_callback error and a
> diagnostic (action ruleset) gave me this:
>
> toc >nl1 B>><>> ! file: /home/public/confessional/cookbook/slimtoc.php,
> line: 167, pat: /\(:([#\*])?toc:\)(.*)$/se
>
> checking line 167 showed me a function using Markup changing Markup to
> Markup_e gave me yet another error
>


Changing Markup(...) to Markup_e(...) is not enough. You have to work
through the contents of the "...". Please see this page/section:

http://www.pmwiki.org/wiki/PmWiki/CustomMarkup#php55

-Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20160902/d447305f/attachment.html>


More information about the pmwiki-users mailing list