MDL-38794 passed overflowdiv parameter

This commit is contained in:
prateeksachan
2013-07-11 07:26:56 +05:30
parent 4c6f1ec52e
commit ee36201eee
+1 -1
View File
@@ -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();