X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5fbc8ad3f471fde8c5defedc41bbb8374e13abdb..88105d9c643519e02082ba9cc5044bb0dfdcb7b9:/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) %>