summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-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 ecc771401..3447c88f4 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -988,7 +988,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
*/
function _headerToLink($title,$create=false) {
$title = str_replace(':','',cleanID($title,true)); //force ASCII
- $title = ltrim($title,'0123456789');
+ $title = ltrim($title,'0123456789._-');
if(empty($title)) $title='section';
if($create){