X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7b172efeb62dca337e356dab0d14c69ec51216b7..f6a5d228163b781cd1138ba82d5c177656d0566b:/app/views/message/_sent_message_summary.rhtml diff --git a/app/views/message/_sent_message_summary.rhtml b/app/views/message/_sent_message_summary.rhtml index 69b14609a..f0d87aa27 100644 --- a/app/views/message/_sent_message_summary.rhtml +++ b/app/views/message/_sent_message_summary.rhtml @@ -1,7 +1,7 @@ <% this_colour = cycle('lightgrey', 'white') # can only call once for some dumb reason %> - <%= link_to sent_message_summary.recipient.display_name , :controller => 'user', :action => sent_message_summary.recipient.display_name %> - <%= link_to sent_message_summary.title , :controller => 'message', :action => 'read', :message_id => sent_message_summary.id %> - <%= sent_message_summary.sent_on %> + <%= link_to h(sent_message_summary.recipient.display_name), :controller => 'user', :action => sent_message_summary.recipient.display_name %> + <%= link_to h(sent_message_summary.title), :controller => 'message', :action => 'read', :message_id => sent_message_summary.id %> + <%= sent_message_summary.sent_on %>