diff options
Diffstat (limited to 'inc/parser')
-rw-r--r-- | inc/parser/handler.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php index 41449d824..6b9dc9b3c 100644 --- a/inc/parser/handler.php +++ b/inc/parser/handler.php @@ -82,7 +82,9 @@ class Doku_Handler { if($plugin != null){ $data = $plugin->handle($match, $state, $pos, $this); } - $this->addPluginCall($pluginname,$data,$state,$pos); + if ($data !== false) { + $this->addPluginCall($pluginname,$data,$state,$pos); + } return true; } @@ -92,7 +94,6 @@ class Doku_Handler { $this->_addCall('cdata',array($match), $pos); return true; break; - } } |