diff options
Diffstat (limited to 'inc/parser/renderer.php')
-rw-r--r-- | inc/parser/renderer.php | 4 |
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 = '[:;/]'; |