diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2009-01-20 14:15:08 +0100 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2009-01-20 14:15:08 +0100 |
commit | bdd8111b81ffd9c4f9b8cdbb8075c7088bbcf230 (patch) | |
tree | 8cc64b1285eafe5872794ce8bb44cb1940643850 | |
parent | f99fbb647b842927fe69fd7661e9e919a10182cb (diff) | |
download | rpg-bdd8111b81ffd9c4f9b8cdbb8075c7088bbcf230.tar.gz rpg-bdd8111b81ffd9c4f9b8cdbb8075c7088bbcf230.tar.bz2 |
no H1 tags for empty headlines
darcs-hash:20090120131508-6e07b-a3354fe34f9c54f06a968c6685a04955a8c5a94e.gz
-rw-r--r-- | inc/parser/xhtml.php | 1 |
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); |