diff --git a/app/views/wiki/diff.rhtml b/app/views/wiki/diff.rhtml index 11afc593..a1006dce 100644 --- a/app/views/wiki/diff.rhtml +++ b/app/views/wiki/diff.rhtml @@ -13,5 +13,5 @@

-<%= @diff.to_html %> +<%= simple_format_without_paragraph @diff.to_html %>
diff --git a/lib/redmine/helpers/diff.rb b/lib/redmine/helpers/diff.rb index 24deb3d6..b634d5f1 100644 --- a/lib/redmine/helpers/diff.rb +++ b/lib/redmine/helpers/diff.rb @@ -65,7 +65,7 @@ module Redmine words_del = 0 end end - simple_format(words.join(' ')) + words.join(' ') end end end