Merge branch 'MDL-32857' of git://github.com/danpoltawski/moodle
authorSam Hemelryk <sam@moodle.com>
Thu, 10 May 2012 00:15:50 +0000 (12:15 +1200)
committerSam Hemelryk <sam@moodle.com>
Thu, 10 May 2012 00:15:50 +0000 (12:15 +1200)
1  2 
course/format/renderer.php

@@@ -277,8 -270,9 +270,8 @@@ abstract class format_section_renderer_
          $o.= html_writer::end_tag('a');
  
          $o.= html_writer::start_tag('div', array('class' => 'summarytext'));
-         $o.= format_text($section->summary, $section->summaryformat);
+         $o.= $this->format_summary_text($section);
          $o.= html_writer::end_tag('div');
 -        $o.= html_writer::end_tag('div');
          $o.= html_writer::end_tag('li');
  
          return $o;