diff --git a/app/helpers/diff_helper.rb b/app/helpers/diff_helper.rb index 27792b0c5..cfa2a0459 100644 --- a/app/helpers/diff_helper.rb +++ b/app/helpers/diff_helper.rb @@ -37,12 +37,12 @@ module DiffHelper end prepare(args.merge({:filepath => filepath, :comments => comments, :in_discussion => in_discussion})) - res = "" - res << "" + res = '
' + res << '' res << renderer(diff_display.data) #diff_display.render(Git::Diff::InlineCallback.new comments, path) res << tr_line_comments(comments) if in_discussion - res << "" - res << "
" + res << '' + res << '' res.html_safe end