diff options
author | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-10-27 10:47:14 +0900 |
---|---|---|
committer | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-11-04 14:05:49 +0900 |
commit | bea83d2579ca3b8ca48802f5c114cea60bce396e (patch) | |
tree | f48daeca9f352b989c4c6084af7721c07dab839c /app/views | |
parent | 3a8a7c1251cef4098ffbc54718ba21736c5e2800 (diff) | |
download | gitlab-ce-bea83d2579ca3b8ca48802f5c114cea60bce396e.tar.gz |
Remove an extra leading space from diff content
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/diffs/_line.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/diffs/_line.html.haml b/app/views/projects/diffs/_line.html.haml index 7042e9f1fc9..a3e4b5b777e 100644 --- a/app/views/projects/diffs/_line.html.haml +++ b/app/views/projects/diffs/_line.html.haml @@ -25,9 +25,9 @@ %a{href: "##{line_code}", data: { linenumber: link_text }} %td.line_content.noteable_line{ class: type, data: (diff_view_line_data(line_code, diff_file.position(line), type) unless plain) }< - if email - %pre= diff_line_content(line.text, type) + %pre= diff_line_content(line.text) - else - = diff_line_content(line.text, type) + = diff_line_content(line.text) - discussions = local_assigns.fetch(:discussions, nil) - if discussions && !line.meta? |