summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-16 15:09:47 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-16 15:09:47 +0300
commitd7c655347249183363d85ad5872d3cf86e2e1003 (patch)
tree41e2a992038f658ff361c1a260475631f0bacf33
parent3e115faafa13a0bcad5458a9632dec909eb376da (diff)
downloadgitlab-ce-d7c655347249183363d85ad5872d3cf86e2e1003.tar.gz
respect whitespaces in blame view
-rw-r--r--app/views/blame/show.html.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/blame/show.html.haml b/app/views/blame/show.html.haml
index d4cd3ac1a32..297e30356a7 100644
--- a/app/views/blame/show.html.haml
+++ b/app/views/blame/show.html.haml
@@ -43,6 +43,7 @@
- current_line += 1
%td.lines
%pre
- - lines.each do |line|
- = line
- \
+ :erb
+ <% lines.each do |line| %>
+ <%= line %>
+ <% end %>