Skip to content

Commit

Permalink
MDL-25840 fixed image files link not rendered correctly when attached…
Browse files Browse the repository at this point in the history
… as file (instead of inline).
  • Loading branch information
Aparup Banerjee committed Apr 11, 2011
1 parent dae6b38 commit c9b0e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit c9b0e31

Please sign in to comment.