diff --git a/blog/locallib.php b/blog/locallib.php index 1cc4b0c71f5..77d2ffddbc9 100644 --- a/blog/locallib.php +++ b/blog/locallib.php @@ -517,7 +517,7 @@ class blog_entry { } else { if (in_array($type, array('image/gif', 'image/jpeg', 'image/png'))) { // Image attachments don't get printed as links - $imagereturn .= "
" . $OUTPUT->pix_icon($ffurl, $filename); + $imagereturn .= '
'; } else { $imagereturn .= html_writer::link($ffurl, $image); $imagereturn .= format_text(html_writer::link($ffurl, $filename), FORMAT_HTML, array('context'=>$syscontext));