Commit 1dca367f225d3c3b3824c7e3d32f4d232cf1d141

Authored by Dmitriy Zaporozhets
2 parents 6ca921ae c5b16f09

Merge pull request #1067 from SaitoWu/bugfix/encoding

fix blame encoding error.
Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
app/views/refs/blame.html.haml
@@ -37,8 +37,7 @@ @@ -37,8 +37,7 @@
37 %td.lines 37 %td.lines
38 = preserve do 38 = preserve do
39 %pre 39 %pre
40 - - lines.each do |line|  
41 - = line 40 + = Gitlab::Encode.utf8 lines.join("\n")
42 41
43 :javascript 42 :javascript
44 $(function(){ 43 $(function(){