From 467394f64fcb5840be550db8319252af35df7b93 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 23 Oct 2005 00:03:20 +0200 Subject: more test fixes (down to 55) darcs-hash:20051022220320-7ad00-ada9d82ad5fdc670cfecc0f3fbdc50f6ed7fc036.gz --- inc/parser/handler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc') 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; -- cgit v1.2.3