Commit 0e62b1cb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

preserve for code browse

parent 088860de
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment