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
|
.view_file_content
|
||||||
- unless file.empty?
|
- unless file.empty?
|
||||||
%div{:class => current_user.dark_scheme ? "black" : "white"}
|
%div{:class => current_user.dark_scheme ? "black" : "white"}
|
||||||
:erb
|
= preserve do
|
||||||
<%= raw file.colorize %>
|
= raw file.colorize
|
||||||
- else
|
- else
|
||||||
%h3
|
%h3
|
||||||
%center Empty file
|
%center Empty file
|
||||||
|
|
Loading…
Add table
Reference in a new issue