summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/preview.html.haml
diff options
context:
space:
mode:
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 da2cef17e8a..eb65cd90ea8 100644
--- a/app/views/projects/blob/preview.html.haml
+++ b/app/views/projects/blob/preview.html.haml
@@ -2,7 +2,7 @@
.diff-content
- if markup?(@blob.name)
.file-content.wiki
- = markup(@blob.name, @content)
+ = markup(@blob.name, @content, legacy_render_context(params))
- else
.file-content.code.js-syntax-highlight
- unless @diff_lines.empty?