diff --git a/app/views/common/_file.rhtml b/app/views/common/_file.rhtml index 43f5c6c4..599a1737 100644 --- a/app/views/common/_file.rhtml +++ b/app/views/common/_file.rhtml @@ -3,7 +3,7 @@ <% line_num = 1 %> <% syntax_highlight(filename, to_utf8(content)).each_line do |line| %> -<%= line_num %>
<%= line %>
+<%= line_num %>
<%= line %>
<% line_num += 1 %> <% end %> diff --git a/app/views/repositories/annotate.rhtml b/app/views/repositories/annotate.rhtml index 44b5a81a..d0fb8cbf 100644 --- a/app/views/repositories/annotate.rhtml +++ b/app/views/repositories/annotate.rhtml @@ -11,7 +11,7 @@ <% syntax_highlight(@path, to_utf8(@annotate.content)).each_line do |line| %> <% revision = @annotate.revisions[line_num-1] %> - <%= line_num %> + <%= line_num %> <%= (revision.identifier ? link_to(format_revision(revision.identifier), :action => 'revision', :id => @project, :rev => revision.identifier) : format_revision(revision.revision)) if revision %> <%= h(revision.author.to_s.split('<').first) if revision %>