diff --git a/blog/lib.php b/blog/lib.php index 9c645334bb8..a76c7a27ba3 100755 --- a/blog/lib.php +++ b/blog/lib.php @@ -144,9 +144,9 @@ global $USER, $CFG, $COURSE, $ME; $template['body'] = format_text($blogEntry->summary, $blogEntry->format); - //$template['title'] = ''; + $template['title'] = ''; //enclose the title in nolink tags so that moodle formatting doesn't autolink the text - $template['title'] = ''.$blogEntry->subject.''; + $template['title'] .= ''. format_string($blogEntry->subject) .''; $template['userid'] = $blogEntry->userid; $template['author'] = fullname(get_record('user','id',$blogEntry->userid)); $template['lastmod'] = userdate($blogEntry->lastmodified);