From d7c655347249183363d85ad5872d3cf86e2e1003 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Date: Thu, 16 May 2013 15:09:47 +0300 Subject: [PATCH] respect whitespaces in blame view --- app/views/blame/show.html.haml | 7 ++++--- 1 file 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 %> -- 2.30.9