diff options
-rw-r--r-- | app/views/wiki/diff.rhtml | 2 | ||||
-rw-r--r-- | lib/redmine/helpers/diff.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wiki/diff.rhtml b/app/views/wiki/diff.rhtml index 11afc5930..a1006dce3 100644 --- a/app/views/wiki/diff.rhtml +++ b/app/views/wiki/diff.rhtml @@ -13,5 +13,5 @@ </p> <div class="text-diff"> -<%= @diff.to_html %> +<%= simple_format_without_paragraph @diff.to_html %> </div> diff --git a/lib/redmine/helpers/diff.rb b/lib/redmine/helpers/diff.rb index 24deb3d6d..b634d5f1f 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 |