From 74c0c50443b26fe6747fca8e267b335d6858c783 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 9 Aug 2006 18:02:09 +0200 Subject: cleanID unit tests + fix missing utf8 deaccent character mapping + set utf-8 charset for HTMLReporter (unit tests) darcs-hash:20060809160209-9b6ab-26c80a4830643b9790536f6d3a4adee0f451e4f0.gz --- inc/parser/lexer.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'inc/parser/lexer.php') diff --git a/inc/parser/lexer.php b/inc/parser/lexer.php index 9c109f9bb..2175e6786 100644 --- a/inc/parser/lexer.php +++ b/inc/parser/lexer.php @@ -503,15 +503,16 @@ class Doku_Lexer { if (isset($this->_mode_handlers[$handler])) { $handler = $this->_mode_handlers[$handler]; } - // modes starting with plugin_ are all handled by the same - // handler but with an additional parameter - if(substr($handler,0,7)=='plugin_'){ - list($handler,$plugin) = split('_',$handler,2); - return $this->_parser->$handler($content, $is_match, $pos, $plugin); - } - return $this->_parser->$handler($content, $is_match, $pos); - } + // modes starting with plugin_ are all handled by the same + // handler but with an additional parameter + if(substr($handler,0,7)=='plugin_'){ + list($handler,$plugin) = split('_',$handler,2); + return $this->_parser->$handler($content, $is_match, $pos, $plugin); + } + + return $this->_parser->$handler($content, $is_match, $pos); + } /** * Tries to match a chunk of text and if successful -- cgit v1.2.3