summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 2b9e30b98..3ef51a7b3 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -104,6 +104,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
}
function header($text, $level, $pos) {
+ if(!$text) return; //skip empty headlines
$hid = $this->_headerToLink($text,true);