summaryrefslogtreecommitdiff
path: root/app/views/projects/notes/discussions/_diff.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/notes/discussions/_diff.html.haml')
-rw-r--r--app/views/projects/notes/discussions/_diff.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/notes/discussions/_diff.html.haml b/app/views/projects/notes/discussions/_diff.html.haml
index 6abfb3abc3b..9fd9d5bb2aa 100644
--- a/app/views/projects/notes/discussions/_diff.html.haml
+++ b/app/views/projects/notes/discussions/_diff.html.haml
@@ -22,7 +22,7 @@
- else
%td.old_line.diff-line-num{data: {linenumber: raw(type == "new" ? " " : line.old_pos)}}
%td.new_line.diff-line-num{data: {linenumber: raw(type == "old" ? " " : line.new_pos)}}
- %td.line_content{class: "noteable_line #{type} #{line_code}", line_code: line_code}= diff_line_content(line.text)
+ %td.line_content{class: "noteable_line #{type} #{line_code}", line_code: line_code}= diff_line_content(line.text, type)
- if line_code == note.line_code
= render "projects/notes/diff_notes_with_reply", notes: discussion_notes