Commit 1bd6a2d0 authored by prateeksachan's avatar prateeksachan
Browse files

MDL-38794 passed overflowdiv parameter

parent b3661ab2
......@@ -191,7 +191,7 @@ if (!$book->customtitles) {
}
}
$chaptertext = file_rewrite_pluginfile_urls($chapter->content, 'pluginfile.php', $context->id, 'mod_book', 'chapter', $chapter->id);
echo format_text($chaptertext, $chapter->contentformat, array('noclean'=>true, 'context'=>$context));
echo format_text($chaptertext, $chapter->contentformat, array('noclean'=>true, 'overflowdiv'=>true, 'context'=>$context));
echo $OUTPUT->box_end();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment