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 +}