summaryrefslogtreecommitdiff
path: root/app/views/projects/blame
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/blame')
-rw-r--r--app/views/projects/blame/show.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/blame/show.html.haml b/app/views/projects/blame/show.html.haml
index bdf02c6285d..c507ecf2e49 100644
--- a/app/views/projects/blame/show.html.haml
+++ b/app/views/projects/blame/show.html.haml
@@ -26,9 +26,9 @@
= i
\
%td.lines
- %pre
- %code{ class: highlightjs_class(@blob.name) }
+ %pre{class: 'code highlight white'}
+ %code
:erb
<% lines.each do |line| %>
- <%= line %>
+ <%= highlight(@blob.name, line, true).html_safe %>
<% end %>