]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/_diary_entry.html.erb
Remove use of jQuery toggle() function
[rails.git] / app / views / diary_entry / _diary_entry.html.erb
index c17cf05e6ee0e5c2dffec2aac052d289652d2295..a7d40c7920036bbfd3e8b7d1af4e0d2dfefdf77f 100644 (file)
@@ -6,7 +6,8 @@
 
     <h2><%= link_to h(diary_entry.title), :action => 'view', :display_name => diary_entry.user.display_name, :id => diary_entry.id %></h2>
   </div>
-  <div xml:lang="<%= diary_entry.language_code %>" lang="<%= diary_entry.language_code %>">
+
+  <div class="richtext" xml:lang="<%= diary_entry.language_code %>" lang="<%= diary_entry.language_code %>">
     <%= diary_entry.body.to_html %>
   </div>