HTMLize note browse pages
authorIan Dees <ian.dees@gmail.com>
Fri, 31 May 2013 03:13:45 +0000 (03:13 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 2 Jun 2013 17:48:28 +0000 (18:48 +0100)
app/views/browse/note.html.erb

index 083b1ab8696a8dbdfaae9678048f45afbcfe2ebd..31fd00f014255e8bbcc53af55e2d940037e4ac5f 100644 (file)
@@ -41,7 +41,7 @@
 
     <div id="c<%= @note.comments.first.id %>">
       <h4><%= t "browse.note.description" %></h4>
-      <p><%= h(@note.comments.first.body) %></p>
+      <p><%= h(@note.comments.first.body.to_html) %></p>
     </div>
 
     <div>