Commit afe7dff6 authored by Mihail Geshoski's avatar Mihail Geshoski Committed by Jenkins
Browse files

MDL-69048 book: Sanitize previous chapter value in add new chapter page

parent 7b3fdc47
......@@ -51,7 +51,7 @@ class book_chapter_edit_form extends moodleform {
if (isset($chapter->currentchaptertitle)) {
$mform->addElement('static', 'details',
get_string('previouschapter', 'mod_book'),
trim(format_string($chapter->currentchaptertitle, true))
Markdown is supported
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