Commit 0e62b1cbaae346907e939b5de6fddc588bf20065
1 parent
088860de
Exists in
master
and in
4 other branches
preserve for code browse
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/refs/_tree_file.html.haml
| @@ -12,8 +12,8 @@ | @@ -12,8 +12,8 @@ | ||
| 12 | .view_file_content | 12 | .view_file_content |
| 13 | - unless file.empty? | 13 | - unless file.empty? |
| 14 | %div{:class => current_user.dark_scheme ? "black" : "white"} | 14 | %div{:class => current_user.dark_scheme ? "black" : "white"} |
| 15 | - :erb | ||
| 16 | - <%= raw file.colorize %> | 15 | + = preserve do |
| 16 | + = raw file.colorize | ||
| 17 | - else | 17 | - else |
| 18 | %h3 | 18 | %h3 |
| 19 | %center Empty file | 19 | %center Empty file |