summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorGuy Brand <gb@isis.u-strasbg.fr>2007-02-17 23:07:46 +0100
committerGuy Brand <gb@isis.u-strasbg.fr>2007-02-17 23:07:46 +0100
commit1179df0e99996b3a67245ef9efa7b71b8b9cad74 (patch)
treebce548320ac5ee0f736fe02270b5765d93f35ddf /inc/parser
parentece9fa7a2e2237ae9c68cc8c39521de00ac91739 (diff)
downloadrpg-1179df0e99996b3a67245ef9efa7b71b8b9cad74.tar.gz
rpg-1179df0e99996b3a67245ef9efa7b71b8b9cad74.tar.bz2
Fix namespace links and titles (FS 1005, 1006)
darcs-hash:20070217220746-19e2d-76c857902d24301707eb783ced96f25c00526659.gz
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/renderer.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php
index a6bf0c543..0e6fa2d85 100644
--- a/inc/parser/renderer.php
+++ b/inc/parser/renderer.php
@@ -245,8 +245,10 @@ class Doku_Renderer extends DokuWiki_Plugin {
list($name,$hash) = explode('#',$name,2);
if($hash) return $hash;
- //trim colons of a namespace link
+ //trim colons or slash of a namespace link
$name = rtrim($name,':');
+ if($conf['useslash'])
+ $name = rtrim($name,'/');
if($conf['useslash']){
$nssep = '[:;/]';