Commit 03bf55846bc7daaf897f5c0a16d66325a408f10d

Authored by druidvav
1 parent 8ebfae9a

Fix for utf-8 names in empty project page.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/projects/empty.html.haml
... ... @@ -15,7 +15,7 @@
15 15 %h3 Git global setup:
16 16 - setup_str = ["git config --global user.name \"#{current_user.name}\"",
17 17 "git config --global user.email \"#{current_user.email}\""].join("\n")
18   - = raw bash_lexer.highlight(setup_str)
  18 + = raw bash_lexer.highlight(setup_str, :lexer => 'bash', :options => {:encoding => 'utf-8'})
19 19  
20 20 %br
21 21 %br
... ...