From 501af51e6336cb2c1985f28f2355c0030a0c3660 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Fri, 25 Aug 2006 19:36:53 +0200 Subject: [PATCH] no forcing of ASCII in section IDs XHTML allows non-ASCII chars in ids and names, so there is no need to forcibly romanize section header ids darcs-hash:20060825173653-7ad00-f982cec893cc2d0f1b2de4226879d7d2b294ac76.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 e8fb84494..6bdb6e877 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -1033,7 +1033,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { * @author Andreas Gohr <andi@splitbrain.org> */ function _headerToLink($title,$create=false) { - $title = str_replace(':','',cleanID($title,true)); //force ASCII + $title = str_replace(':','',cleanID($title)); $title = ltrim($title,'0123456789._-'); if(empty($title)) $title='section'; -- GitLab