X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5fbc8ad3f471fde8c5defedc41bbb8374e13abdb..f08c9de07337d335347d65c98526bab4b938b824:/app/views/diary_entry/_diary_comment.rhtml diff --git a/app/views/diary_entry/_diary_comment.rhtml b/app/views/diary_entry/_diary_comment.rhtml index be621cf5b..2aca51f54 100644 --- a/app/views/diary_entry/_diary_comment.rhtml +++ b/app/views/diary_entry/_diary_comment.rhtml @@ -1,3 +1,3 @@ -

Comment from <%= link_to diary_comment.user.display_name, :controller => 'user', :action => 'view', :display_name => diary_comment.user.display_name %> at <%= diary_comment.created_at %>

+

Comment from <%= link_to h(diary_comment.user.display_name), :controller => 'user', :action => 'view', :display_name => diary_comment.user.display_name %> at <%= diary_comment.created_at %>

<%= htmlize(diary_comment.body) %>