]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/_diary_comment.html.erb
Break long URLs where richtext is used.
[rails.git] / app / views / diary_entries / _diary_comment.html.erb
index 9a3ff969dfecbd64fc0e0c987fd12352f22633f5..a7cdf21d7321d2215dc8caa915d8cd884c437e54 100644 (file)
@@ -6,7 +6,7 @@
     <% end %>
   </p>
 
-  <div class="richtext"><%= diary_comment.body.to_html %></div>
+  <div class="richtext text-break"><%= diary_comment.body.to_html %></div>
   <% if can? :hidecomment, DiaryEntry %>
     <span>
       <% if diary_comment.visible? %>