summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2006-03-02 14:50:01 +0100
committerAndreas Gohr <gohr@cosmocode.de>2006-03-02 14:50:01 +0100
commita9e0fd1bdf00146a5eedef3ac945dbd3733156fe (patch)
tree0781e273aa5d309e720ff3978452f2cedc3ab961 /inc/parser/xhtml.php
parentb744177907173800d77cfb84e04392ba9850f91f (diff)
downloadrpg-a9e0fd1bdf00146a5eedef3ac945dbd3733156fe.tar.gz
rpg-a9e0fd1bdf00146a5eedef3ac945dbd3733156fe.tar.bz2
small patch for unique ids
darcs-hash:20060302135001-6e07b-61d47e4a3438d14aef16772a04a3bbfd07e91e0d.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 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){