diff --git a/mod/book/view.php b/mod/book/view.php index cf9ed5512b8..9a604d2983d 100644 --- a/mod/book/view.php +++ b/mod/book/view.php @@ -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();