Skip to content
Snippets Groups Projects
Commit bdd8111b authored by Andreas Gohr's avatar Andreas Gohr
Browse files

no H1 tags for empty headlines

darcs-hash:20090120131508-6e07b-a3354fe34f9c54f06a968c6685a04955a8c5a94e.gz
parent f99fbb64
No related branches found
No related tags found
No related merge requests found
...@@ -104,6 +104,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { ...@@ -104,6 +104,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
} }
function header($text, $level, $pos) { function header($text, $level, $pos) {
if(!$text) return; //skip empty headlines
$hid = $this->_headerToLink($text,true); $hid = $this->_headerToLink($text,true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment