From ceb989d2e68e428a3978c543827ffd276afca5b2 Mon Sep 17 00:00:00 2001 From: Anna Dabrowska Date: Wed, 14 Oct 2020 12:33:41 +0200 Subject: [PATCH] Regex modifier e has been deprecated since PHP 5.5 and removed in 7.0 --- syntax.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syntax.php b/syntax.php index 330d831..e9e451d 100644 --- a/syntax.php +++ b/syntax.php @@ -108,7 +108,7 @@ function render($mode, Doku_Renderer $renderer, $data) { // remove toc, section edit buttons and category tags $patterns = array('!
.*?(
\n)!s', - '##e', + '##', '!
.*?
!s'); $replace = array('','',''); $alpha_data = preg_replace($patterns, $replace, $alpha_data); @@ -338,6 +338,6 @@ function alphaindex_search_index(&$data, $base, $file, $type, $lvl, $opts) { 'type' => $type, 'level' => $lvl, 'open' => $return); - + return $return; -} \ No newline at end of file +}