diff --git a/course/mod.php b/course/mod.php
index d08eae6e2b7..c982f5a67d2 100644
--- a/course/mod.php
+++ b/course/mod.php
@@ -471,7 +471,7 @@
} else {
$pageheading = get_string("updatinga", "moodle", $fullmodulename);
}
- $strnav = "wwwroot/mod/$module->name/view.php?id=$cm->id\">$form->name ->";
+ $strnav = "wwwroot/mod/$module->name/view.php?id=$cm->id\">".format_string($form->name,true)." ->";
} else if (isset($_GET['duplicate']) and confirm_sesskey()) { // value = course module