]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Fix rendering of note comments (#333)
[rails.git] / 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>