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

fix for colons in fragment identifiers FS#1062

darcs-hash:20070623142008-7ad00-fe29449145bb0f41d28b26d088c9017545775d74.gz
parent 5e01796d
No related branches found
No related tags found
No related merge requests found
......@@ -500,6 +500,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
global $ID;
// default name is based on $id as given
$default = $this->_simpleTitle($id);
// now first resolve and clean up the $id
resolve_pageid(getNS($ID),$id,$exists);
$name = $this->_getLinkTitle($name, $default, $isImage, $id);
......@@ -515,6 +516,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
//keep hash anchor
list($id,$hash) = explode('#',$id,2);
$hash = $this->_headerToLink($hash);
//prepare for formating
$link['target'] = $conf['target']['wiki'];
......
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