diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-06-25 22:42:56 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-06-25 22:42:56 +0200 |
commit | 943dedc690b7b8e32e00f7ae3d64e51cfe9a44b2 (patch) | |
tree | 16d7a0bcb72531a326eaf619675ff55c2e137ea4 /inc/parser/xhtml.php | |
parent | aaf53f82812072911f405a29c2629e34ec64b14d (diff) | |
download | rpg-943dedc690b7b8e32e00f7ae3d64e51cfe9a44b2.tar.gz rpg-943dedc690b7b8e32e00f7ae3d64e51cfe9a44b2.tar.bz2 |
fixed problem with #section added to all links
darcs-hash:20070625204256-7ad00-928a9544d9a5f161bd2b445f49dfc5be22703153.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index fdf384a62..102958c9d 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -516,7 +516,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { //keep hash anchor list($id,$hash) = explode('#',$id,2); - $hash = $this->_headerToLink($hash); + if(!empty($hash)) $hash = $this->_headerToLink($hash); //prepare for formating $link['target'] = $conf['target']['wiki']; |