Permalink
Browse files

MDL-25840 fixed image files link not rendered correctly when attached…

… as file (instead of inline).
  • Loading branch information...
1 parent dae6b38 commit c9b0e31ff29adef113a4adc746bc9169cdddd259 @nebgor nebgor committed Apr 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 blog/locallib.php
View
@@ -187,7 +187,7 @@ public function print_html($return=false) {
$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));

0 comments on commit c9b0e31

Please sign in to comment.