This commit is contained in:
Sam Hemelryk 2013-09-09 11:12:56 +12:00
commit 33909ed001

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();