summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-10-23 00:03:20 +0200
committerAndreas Gohr <andi@splitbrain.org>2005-10-23 00:03:20 +0200
commit467394f64fcb5840be550db8319252af35df7b93 (patch)
tree0e99311a64e2992a068a2d15f712d50376c7dd84 /inc/parser
parentbc5021e986d7e06c99001e7c409afdf1d16335ff (diff)
downloadrpg-467394f64fcb5840be550db8319252af35df7b93.tar.gz
rpg-467394f64fcb5840be550db8319252af35df7b93.tar.bz2
more test fixes (down to 55)
darcs-hash:20051022220320-7ad00-ada9d82ad5fdc670cfecc0f3fbdc50f6ed7fc036.gz
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/handler.php3
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;