diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-11 23:59:53 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-11 23:59:53 +0300 |
commit | 0e62b1cbaae346907e939b5de6fddc588bf20065 (patch) | |
tree | b91d836879bb4a7514b5e38e46cc32e0232577ed /app | |
parent | 088860de4ed3a10b824092c6ab3c47d9f6f27d6a (diff) | |
download | gitlab-ce-0e62b1cbaae346907e939b5de6fddc588bf20065.tar.gz |
preserve for code browse
Diffstat (limited to 'app')
-rw-r--r-- | app/views/refs/_tree_file.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/refs/_tree_file.html.haml b/app/views/refs/_tree_file.html.haml index 120964fa038..738dad9bd59 100644 --- a/app/views/refs/_tree_file.html.haml +++ b/app/views/refs/_tree_file.html.haml @@ -12,8 +12,8 @@ .view_file_content - unless file.empty? %div{:class => current_user.dark_scheme ? "black" : "white"} - :erb - <%= raw file.colorize %> + = preserve do + = raw file.colorize - else %h3 %center Empty file |