From a9e0fd1bdf00146a5eedef3ac945dbd3733156fe Mon Sep 17 00:00:00 2001 From: Andreas Gohr <gohr@cosmocode.de> Date: Thu, 2 Mar 2006 14:50:01 +0100 Subject: [PATCH] small patch for unique ids darcs-hash:20060302135001-6e07b-61d47e4a3438d14aef16772a04a3bbfd07e91e0d.gz --- inc/parser/xhtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){ -- GitLab