diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/parser/xhtml.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 5627a0353..3a2e49155 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -999,6 +999,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $link['title'] = $this->_xmlEntities($url); $url = str_replace('\\', '/', $url); + $url = ltrim($url,'/'); $url = 'file:///'.$url; $link['url'] = $url; |