]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
Merge branch 'pull/3035'
[rails.git] / app / helpers / application_helper.rb
index 2c8b00c17460504ddb49319b6506992a25e2be20..db8b51f5cd9e7f7d30b904bf3cd227913c128113 100644 (file)
@@ -24,7 +24,7 @@ module ApplicationHelper
     tag.div(:id => "#{id}_container", :class => "richtext_container") do
       output_buffer << tag.div(:id => "#{id}_content", :class => "richtext_content") do
         output_buffer << text_area(object_name, method, options.merge("data-preview-url" => preview_url(:type => type)))
-        output_buffer << tag.div("", :id => "#{id}_preview", :class => "richtext_preview richtext")
+        output_buffer << tag.div("", :id => "#{id}_preview", :class => "richtext_preview richtext text-break")
       end
 
       output_buffer << tag.div(:id => "#{id}_help", :class => "richtext_help") do