X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9f909d7447b0d9327d9033a8c9ab0bc6e597bf80..c3bd1f113bfaefc29a48657eefcc87f95dc2da3c:/app/views/message/read.rhtml diff --git a/app/views/message/read.rhtml b/app/views/message/read.rhtml index b3dcd1f23..7c010b9d5 100644 --- a/app/views/message/read.rhtml +++ b/app/views/message/read.rhtml @@ -17,7 +17,7 @@ - <%= sanitize(@message.body) %> + <%= htmlize(@message.body) %> @@ -25,7 +25,7 @@ - + @@ -50,7 +50,7 @@ - +
<%= button_to 'Reply', :controller => 'message', :action => 'new', :user_id => @message.from_user_id %><%= button_to 'Reply', :controller => 'message', :action => 'reply', :message_id => @message.id %> <%= button_to 'Mark as unread', :controller => 'message', :action => 'mark', :message_id => @message.id, :mark => 'unread' %> <%= link_to 'Back to inbox', :controller => 'message', :action => 'inbox', :display_name => @user.display_name %>
<%= sanitize(@message.body) %><%= htmlize(@message.body) %>