summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index d7a9a1ef4..9518cd12e 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -721,6 +721,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$link['suf'] = '';
$link['more'] = '';
$link['target'] = $conf['target']['media'];
+ $noLink = false;
$link['title'] = $this->_xmlEntities($src);
list($ext,$mime) = mimetype($src);
@@ -760,7 +761,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$link['title'] = $this->_xmlEntities($src);
$link['url'] = ml($src,array('cache'=>$cache));
$link['name'] = $this->_media ($src, $title, $align, $width, $height, $cache);
-
+ $noLink = false;
list($ext,$mime) = mimetype($src);
if(substr($mime,0,5) == 'image'){