diff options
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 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)); } /** |