Skip to content

Commit

Permalink
Merge pull request #6 from chrisisbd/master
Browse files Browse the repository at this point in the history
Fix 'root' of src in $renderer->doc
  • Loading branch information
lejmr authored Dec 30, 2019
2 parents e171c03 + b57b5da commit 2ac387f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function render($mode, Doku_Renderer $renderer, $data)
$renderer->doc .= "<img class='mediacenter' id='".trim($data)."'
style='max-width:100%;cursor:pointer;'
onclick='edit(this);'
src='/lib/exe/fetch.php?media=".$data.".png'
src='".DOKU_BASE."lib/exe/fetch.php?media=".$data.".png'
alt='".$file_name."' />";
return true;
}
Expand Down

0 comments on commit 2ac387f

Please sign in to comment.