Revert "MDL-25840 fixed image files link not rendered correctly when attached as...
authorPetr Skoda <commits@skodak.org>
Wed, 13 Apr 2011 13:06:39 +0000 (15:06 +0200)
committerPetr Skoda <commits@skodak.org>
Wed, 13 Apr 2011 13:06:39 +0000 (15:06 +0200)
The reason is failed testing. This reverts commit c9b0e31ff29adef113a4adc746bc9169cdddd259.

blog/locallib.php

index 3cc3c9e..1cc4b0c 100644 (file)
@@ -187,7 +187,7 @@ class blog_entry {
         $contentcell = new html_table_cell();
         $contentcell->attributes['class'] = 'content';
 
-        $attachedimages = $OUTPUT->container($this->print_attachments('html'), 'attachments');
+        $attachedimages = $OUTPUT->container($this->print_attachments(), 'attachments');
 
         // retrieve associations in case they're needed early
         $blogassociations = $DB->get_records('blog_association', array('blogid' => $this->id));