From e54f9ed6af7ab3475948ab47b45ccdcc283cd49b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 15 Oct 2012 22:36:52 +0100 Subject: [PATCH] Replace htmlize call by rich text to_html call --- app/views/notes/mine.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %> -- 2.43.2