mirror of
https://github.com/moodle/moodle.git
synced 2025-03-15 05:00:06 +01:00
lesson MDL-24084 Fixed double formating of lesson page content on expanded view
This commit is contained in:
parent
3257cdaee8
commit
b4a3af713f
@ -284,7 +284,7 @@ class mod_lesson_renderer extends plugin_renderer_base {
|
||||
$cell = new html_table_cell();
|
||||
$cell->colspan = 2;
|
||||
$cell->style = 'text-align:center';
|
||||
$cell->text = format_text($page->contents, $page->contentsformat, $options);
|
||||
$cell->text = $page->contents;
|
||||
$pagetable->data[] = new html_table_row(array($cell));
|
||||
|
||||
$cell = new html_table_cell();
|
||||
|
Loading…
x
Reference in New Issue
Block a user