<% line_num = 1 %> <% syntax_highlight_lines(filename, Redmine::CodesetUtil.to_utf8_by_setting(content)).each do |line| %> <% line_num += 1 %> <% end %>
<% if line == "\n" or line == "\r\n" %>
<% else %>
<%= line.html_safe %>
<% end %>