summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authorMatthias Schulte <post@lupo49.de>2011-09-11 13:11:30 +0200
committerMatthias Schulte <post@lupo49.de>2011-09-11 13:11:30 +0200
commit1614eb9180008daaf518e6271b82222219efc008 (patch)
treebd9b3138f288fbc6786f3b28c7f3d438bf79c36f /inc/parser/xhtml.php
parente2b5ad84f88d0bd1fe510fa74673cc7557c6e630 (diff)
parent29d511bfa507384ae0872f75fb54acb44b1e915e (diff)
downloadrpg-1614eb9180008daaf518e6271b82222219efc008.tar.gz
rpg-1614eb9180008daaf518e6271b82222219efc008.tar.bz2
Merge branch 'master' of http://github.com/splitbrain/dokuwiki
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 83359cd55..ea1756803 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -805,8 +805,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
if($hash) $link['url'] .= '#'.$hash;
//markup non existing files
- if (!$exists)
- $link['class'] .= ' wikilink2';
+ if (!$exists) {
+ $link['class'] .= ' wikilink2';
+ $link['url'] = media_managerURL(array('tab_details' => 'view', 'image' => $src, 'ns' => getNS($src)), '&');
+ }
//output formatted
if ($linking == 'nolink' || $noLink) $this->doc .= $link['name'];