diff options
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r-- | inc/parser/handler.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php index d2dc49a5d..805449ea5 100644 --- a/inc/parser/handler.php +++ b/inc/parser/handler.php @@ -104,7 +104,8 @@ class Doku_Handler { } // Strip markers and whitespaces - $title = trim($match,'= '); + $title = trim($match,'='); + $title = trim($title,' '); $this->_addCall('header',array($title,$level,$pos), $pos); $this->meta['section'] = TRUE; |