diff --git a/app/views/users/dashboard.html.haml b/app/views/users/dashboard.html.haml index 8e36941..823c979 100644 --- a/app/views/users/dashboard.html.haml +++ b/app/views/users/dashboard.html.haml @@ -22,7 +22,7 @@ = link_to(h(n.course.full_name), course_url(n.course)) + " ›" = link_to(h(n.title), course_news_url(n.course, n)) - unless n.body.empty? - %p= truncate(n.body, 300) + %p= truncate(h(n.body), 300) .box .cmd