MDL-51232 mod_book: Filter name header
authorJinu Abraham <jinu.abraham@blackboard.com>
Mon, 31 Aug 2015 02:34:01 +0000 (12:04 +0930)
committerJinu Abraham <jinu.abraham@blackboard.com>
Mon, 31 Aug 2015 02:34:01 +0000 (12:04 +0930)
mod/book/view.php

index f2a6398..bc4cdb4 100644 (file)
@@ -206,7 +206,7 @@ if ($book->navstyle) {
 // =====================================================
 
 echo $OUTPUT->header();
-echo $OUTPUT->heading($book->name);
+echo $OUTPUT->heading(format_string($book->name));
 
 $navclasses = book_get_nav_classes();