[dokuwiki] sectionID replaces spaces with ns-delimiter
- From: sf-devel <sf-devel@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 16 Apr 2009 00:45:08 +0200
Hello,
I changed the cleanId( ) in inc/pageutils.php
hunk ./inc/pageutils.php 123
- $id = utf8_stripspecials($id,$sepchar,'\*');
+ $id = utf8_stripspecials($id,'','\*');
Problem was id and name values for the links in topics had spaces
replaced with slash wich is my namespaces seperator. In
inc/parser/xhtml.php the header_to_link( ) function calls sectionId( )
in pageutils wich uses cleanId( ) ...
I m pretty sure the replacement of the spaces should actually happen
somwhere else but couldn't find it. Why did that break? On dokuwiki.org
there are underscores. Anybody else has this?
Greetz
SF
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
Other related posts: