Skip to content
Snippets Groups Projects
Commit 501af51e authored by Andreas Gohr's avatar Andreas Gohr
Browse files

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
parent 0d8ea614
No related branches found
No related tags found
No related merge requests found
...@@ -1033,7 +1033,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { ...@@ -1033,7 +1033,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
* @author Andreas Gohr <andi@splitbrain.org> * @author Andreas Gohr <andi@splitbrain.org>
*/ */
function _headerToLink($title,$create=false) { function _headerToLink($title,$create=false) {
$title = str_replace(':','',cleanID($title,true)); //force ASCII $title = str_replace(':','',cleanID($title));
$title = ltrim($title,'0123456789._-'); $title = ltrim($title,'0123456789._-');
if(empty($title)) $title='section'; if(empty($title)) $title='section';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment