diff --git a/mod/book/edit_form.php b/mod/book/edit_form.php index e681e563096..52b5d7b1cc1 100644 --- a/mod/book/edit_form.php +++ b/mod/book/edit_form.php @@ -51,7 +51,7 @@ class book_chapter_edit_form extends moodleform { if (isset($chapter->currentchaptertitle)) { $mform->addElement('static', 'details', get_string('previouschapter', 'mod_book'), - $chapter->currentchaptertitle + trim(format_string($chapter->currentchaptertitle, true)) ); }