diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index ecc771401a65ba6c155807f842f4acf031f6821f..3447c88f4be1204a083bf4fea01ed422410f562c 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){