diff options
Diffstat (limited to 'app/views/repositories/entry.rhtml')
-rw-r--r-- | app/views/repositories/entry.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/entry.rhtml b/app/views/repositories/entry.rhtml index 7d8cbb318..94db240ab 100644 --- a/app/views/repositories/entry.rhtml +++ b/app/views/repositories/entry.rhtml @@ -9,7 +9,7 @@ </thead> <tbody> <% line_num = 1 %> - <% syntax_highlight(@path, @content).each_line do |line| %> + <% syntax_highlight(@path, to_utf8(@content)).each_line do |line| %> <tr> <th class="line-num"><%= line_num %></th> <td class="line-code"><pre><%= line %></pre></td> |