From c9b0e31ff29adef113a4adc746bc9169cdddd259 Mon Sep 17 00:00:00 2001 From: Aparup Banerjee Date: Mon, 11 Apr 2011 14:14:03 +0800 Subject: [PATCH] MDL-25840 fixed image files link not rendered correctly when attached as file (instead of inline). --- blog/locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/locallib.php b/blog/locallib.php index 52ff8c324b3..9edb3c93622 100644 --- a/blog/locallib.php +++ b/blog/locallib.php @@ -187,7 +187,7 @@ class blog_entry { $contentcell = new html_table_cell(); $contentcell->attributes['class'] = 'content'; - $attachedimages = $OUTPUT->container($this->print_attachments(), 'attachments'); + $attachedimages = $OUTPUT->container($this->print_attachments('html'), 'attachments'); // retrieve associations in case they're needed early $blogassociations = $DB->get_records('blog_association', array('blogid' => $this->id)); -- 2.43.0