From: Tom Hughes Date: Mon, 15 Oct 2012 21:36:52 +0000 (+0100) Subject: Replace htmlize call by rich text to_html call X-Git-Tag: live~5064^2~76 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/e54f9ed6af7ab3475948ab47b45ccdcc283cd49b?ds=inline Replace htmlize call by rich text to_html call --- diff --git a/app/views/notes/mine.html.erb b/app/views/notes/mine.html.erb index 50c15cd9d..c58548b47 100644 --- a/app/views/notes/mine.html.erb +++ b/app/views/notes/mine.html.erb @@ -27,7 +27,7 @@ <% else %> <%= link_to h(note.author_name), :controller => "user", :action => "view", :display_name => note.author_name %> <% end %> - <%= htmlize note.comments.first.body %> + <%= note.comments.first.body.to_html %> <%= l note.created_at %> <%= l note.updated_at %>