summaryrefslogtreecommitdiff
path: root/app/views/projects/blame
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-03-06 12:25:31 +0100
committerDouwe Maan <douwe@gitlab.com>2015-03-13 13:49:27 +0100
commitf96dc6295aeb6f7d731c635c1a8a8ff609b4510f (patch)
treea02fabe8eb127852ec03ced32b82111049a11a29 /app/views/projects/blame
parent606d24ff2df157ec70003132d1ead7a47dc32883 (diff)
downloadgitlab-ce-f96dc6295aeb6f7d731c635c1a8a8ff609b4510f.tar.gz
Everything from gitlab_git is already UTF-8.
Diffstat (limited to 'app/views/projects/blame')
-rw-r--r--app/views/projects/blame/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blame/show.html.haml b/app/views/projects/blame/show.html.haml
index 5a33d18e631..4cc1fedb1ce 100644
--- a/app/views/projects/blame/show.html.haml
+++ b/app/views/projects/blame/show.html.haml
@@ -30,5 +30,5 @@
%code
:erb
<% lines.each do |line| %>
- <%= highlight(@blob.name, line.force_encoding("utf-8"), true).html_safe %>
+ <%= highlight(@blob.name, line, true).html_safe %>
<% end %>