Skip to content
Snippets Groups Projects
Commit 5667eb65 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fixed minor bug introduced yesterday

darcs-hash:20050815192355-7ad00-8ff39d69d48a8c1aa29a78111ff5b7d06a55256e.gz
parent 14c3d17d
No related branches found
No related tags found
No related merge requests found
......@@ -734,7 +734,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$link['title'] = $this->_xmlEntities($src);
list($ext,$mime) = mimetype($src);
if(substr($mime,0,5)){
if(substr($mime,0,5) == 'image'){
$link['url'] = ml($src,array('id'=>$ID,'cache'=>$cache),false);
}else{
$link['url'] = ml($src,array('id'=>$ID,'cache'=>$cache),true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment