summaryrefslogtreecommitdiff
path: root/inc/parser/lexer.php
diff options
context:
space:
mode:
authorchris <chris@jalakai.co.uk>2006-08-09 18:02:09 +0200
committerchris <chris@jalakai.co.uk>2006-08-09 18:02:09 +0200
commit74c0c50443b26fe6747fca8e267b335d6858c783 (patch)
treef8f4bc393b5e7242c3995b9fbfda7c330278b346 /inc/parser/lexer.php
parent1f4490f23c9c4d37cf2d556f053aeca75da5b4d3 (diff)
downloadrpg-74c0c50443b26fe6747fca8e267b335d6858c783.tar.gz
rpg-74c0c50443b26fe6747fca8e267b335d6858c783.tar.bz2
cleanID unit tests
+ fix missing utf8 deaccent character mapping + set utf-8 charset for HTMLReporter (unit tests) darcs-hash:20060809160209-9b6ab-26c80a4830643b9790536f6d3a4adee0f451e4f0.gz
Diffstat (limited to 'inc/parser/lexer.php')
-rw-r--r--inc/parser/lexer.php17
1 files changed, 9 insertions, 8 deletions
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