diff --git a/course/lib.php b/course/lib.php
index <HASH>..<HASH> 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -92,7 +92,7 @@ function print_recent_selector_form($course, $advancedfilter=0, $selecteduser=0,
                     $activities["section/$mod->section"] = "-------------- $strsection $mod->section --------------";
                 }
                 $section = $mod->section;
-                $mod->name = strip_tags(urldecode($mod->name));
+                $mod->name = strip_tags(format_string(urldecode($mod->name),true));
                 if (strlen($mod->name) > 55) {
                     $mod->name = substr($mod->name, 0, 50)."...";
                 }
diff --git a/course/recent.php b/course/recent.php
index <HASH>..<HASH> 100644
--- a/course/recent.php
+++ b/course/recent.php
@@ -272,7 +272,7 @@
                    echo "<ul><h4>$image " . $activity->content->modfullname .
                         " <a href=\"$CFG->wwwroot/mod/" . $activity->content->modname . "/view.php?" .
                         "id=" . $activity->content->modid . "\" $linkformat>" .
-                        $activity->name . "</a></h4></ul>";
+                        format_string($activity->name,true) . "</a></h4></ul>";
                }
 
             } else {
Now course/recent.php is workink with filterall.