preserve for code browse
This commit is contained in:
parent
088860de4e
commit
0e62b1cbaa
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue