Merge branch 'MDL-51232' of git://github.com/jinuabraham/moodle
authorDavid Monllao <davidm@moodle.com>
Mon, 14 Sep 2015 01:38:56 +0000 (09:38 +0800)
committerDavid Monllao <davidm@moodle.com>
Mon, 14 Sep 2015 01:38:56 +0000 (09:38 +0800)
mod/book/view.php

index 0340fd6..0c57b2e 100644 (file)
@@ -204,7 +204,7 @@ book_view($book, $chapter, $islastchapter, $course, $cm, $context);
 // =====================================================
 
 echo $OUTPUT->header();
-echo $OUTPUT->heading($book->name);
+echo $OUTPUT->heading(format_string($book->name));
 
 $navclasses = book_get_nav_classes();