diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2013-09-20 21:23:47 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2013-09-20 21:23:47 +0000 |
commit | 2f2b7939c0d17720d3a6031c0ddcf7f817939536 (patch) | |
tree | 0abe128df93cb91ec6cdff74e2068ebd7436dc40 /scripts/transition.php | |
parent | 888f10979925c05714a1c59f6d6ea18d34966d6a (diff) | |
download | pmwiki.svn-2f2b7939c0d17720d3a6031c0ddcf7f817939536.tar.bz2 |
Add Markup_e(), PPRE(), PPRA(), PCCF(), migrate preg_replace() eval to preg_replace_callback().
git-svn-id: svn://pmwiki.org/pmwiki/trunk@2891 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts/transition.php')
-rw-r--r-- | scripts/transition.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/transition.php b/scripts/transition.php index b159cc9b..ac2e291d 100644 --- a/scripts/transition.php +++ b/scripts/transition.php @@ -1,5 +1,5 @@ <?php if (!defined('PmWiki')) exit(); -/* Copyright 2005-2007 Patrick R. Michaud (pmichaud@pobox.com) +/* Copyright 2005-2013 Patrick R. Michaud (pmichaud@pobox.com) This file is part of PmWiki; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -146,9 +146,9 @@ if (@$Transition['nodivnest']) { return $out; } - Markup('table', '<block', - '/^\\(:(table|cell|cellnr|tableend|div|divend)(\\s.*?)?:\\)/ie', - "TCells('$1',PSS('$2'))"); + Markup_e('table', '<block', + '/^\\(:(table|cell|cellnr|tableend|div|divend)(\\s.*?)?:\\)/i', + "TCells(\$m[1],PSS(\$m[2]))"); } |