summaryrefslogtreecommitdiff
path: root/inc/parserutils.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parserutils.php')
-rw-r--r--inc/parserutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parserutils.php b/inc/parserutils.php
index 1dbc1430f..349e83725 100644
--- a/inc/parserutils.php
+++ b/inc/parserutils.php
@@ -321,7 +321,7 @@ function p_get_first_heading($id){
$instructions = p_cached_instructions($file,true);
foreach ( $instructions as $instruction ) {
if ($instruction[0] == 'header') {
- return $instruction[1][0];
+ return trim($instruction[1][0]);
}
}
}