MDL-25840 fixed image files link not rendered correctly when attached as file (instea...
authorAparup Banerjee <aparup@moodle.com>
Mon, 11 Apr 2011 06:14:03 +0000 (14:14 +0800)
committerAparup Banerjee <aparup@moodle.com>
Mon, 11 Apr 2011 06:14:03 +0000 (14:14 +0800)
blog/locallib.php

index 52ff8c3..9edb3c9 100644 (file)
@@ -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));