summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/viewers/_image.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/blob/viewers/_image.html.haml')
-rw-r--r--app/views/projects/blob/viewers/_image.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/viewers/_image.html.haml b/app/views/projects/blob/viewers/_image.html.haml
index 640d59b3174..5fd22a59217 100644
--- a/app/views/projects/blob/viewers/_image.html.haml
+++ b/app/views/projects/blob/viewers/_image.html.haml
@@ -1,2 +1,2 @@
.file-content.image_file
- %img{ src: blob_raw_url, alt: viewer.blob.name }
+ = image_tag(blob_raw_url, alt: viewer.blob.name)