diff options
author | Stan Hu <stanhu@gmail.com> | 2015-05-24 06:34:03 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-05-28 00:10:58 +0300 |
commit | 0cd73885e6279c2a9a477f59eb76095f4e542858 (patch) | |
tree | 351a3bf5667d78aa4027538aa03c4e730d36e649 /app/views/projects/blame | |
parent | b222f211c131f471ceae26cff6977881d2d4b4bb (diff) |
Fix git blame syntax highlighting when different commits break up lines
Closes #1521
Diffstat (limited to 'app/views/projects/blame')
-rw-r--r-- | app/views/projects/blame/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blame/show.html.haml b/app/views/projects/blame/show.html.haml index 462f5b7afb0..8019c7f4569 100644 --- a/app/views/projects/blame/show.html.haml +++ b/app/views/projects/blame/show.html.haml @@ -32,5 +32,5 @@ %code :erb <% lines.each do |line| %> - <%= highlight(@blob.name, line, true).html_safe %> + <%= highlight(@blob.name, line, nowrap: true, continue: true).html_safe %> <% end %> |