summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/preview.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-01-25 11:42:47 +0100
committerDouwe Maan <douwe@selenight.nl>2016-01-25 11:42:47 +0100
commit40d2daed89f598e0b869bdc09bf47d4defe1c5f0 (patch)
tree34476409922fbf4ccf2c6405ffd622e9172a93fb /app/views/projects/blob/preview.html.haml
parent0f2a906211dcbf4978b465d342521dda14ade729 (diff)
downloadgitlab-ce-40d2daed89f598e0b869bdc09bf47d4defe1c5f0.tar.gz
Highlight note code and edit previewnote-highlighting
Diffstat (limited to 'app/views/projects/blob/preview.html.haml')
-rw-r--r--app/views/projects/blob/preview.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/preview.html.haml b/app/views/projects/blob/preview.html.haml
index c5a269f334c..541dc96c45f 100644
--- a/app/views/projects/blob/preview.html.haml
+++ b/app/views/projects/blob/preview.html.haml
@@ -8,7 +8,7 @@
.file-content.wiki
= raw render_markup(@blob.name, @content)
- else
- .file-content.code
+ .file-content.code.js-syntax-highlight
- unless @diff_lines.empty?
%table.text-file
- @diff_lines.each do |line|