summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-24 20:32:54 +0200
committerandi <andi@splitbrain.org>2005-04-24 20:32:54 +0200
commitecf0d0d049c488c6f08c656c6037efdc60deea4c (patch)
treee4b97091a51c09ced2e54fc727e5cabf1826da4e /inc/parser/xhtml.php
parent3926d381ed8613ca07f87d44a24e58183e8e2996 (diff)
downloadrpg-ecf0d0d049c488c6f08c656c6037efdc60deea4c.tar.gz
rpg-ecf0d0d049c488c6f08c656c6037efdc60deea4c.tar.bz2
header links compatible to old parser
darcs-hash:20050424183254-9977f-768be745046adbdc986247754a9113929d7199a2.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 37cd36cf3..dc17092d9 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -905,7 +905,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
* @TODO Tuning needed - e.g. utf8 strtolower ?
*/
function _headerToLink($title) {
- return preg_replace('/\W/','_',trim($title));
+ return str_replace(':','',cleanID($title));
}
/**