Commit c5b16f0998f0290381808e31b6f58c9d311ba76b

Authored by Saito
1 parent be1b4080

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(){