From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 12:46:31 +0000 (+0000) Subject: HTML escape at app/views/repositories/_dir_list_content.rhtml. X-Git-Tag: 1.3.0~1594 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dc1258df481bee5f1a96686912fc55fa98ea292a;p=redmine.git HTML escape at app/views/repositories/_dir_list_content.rhtml. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6349 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/repositories/_dir_list_content.rhtml b/app/views/repositories/_dir_list_content.rhtml index be7e48a34..94f1b36bf 100644 --- a/app/views/repositories/_dir_list_content.rhtml +++ b/app/views/repositories/_dir_list_content.rhtml @@ -23,7 +23,7 @@ <% if @repository.report_last_commit %> <%= link_to_revision(changeset, @project) if changeset %> <%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time %> -<%= changeset.nil? ? h(Redmine::CodesetUtil.replace_invalid_utf8(entry.lastrev.author.to_s.split('<').first)) : changeset.author if entry.lastrev %> +<%= changeset.nil? ? h(Redmine::CodesetUtil.replace_invalid_utf8(entry.lastrev.author.to_s.split('<').first)) : h(changeset.author) if entry.lastrev %> <%=h truncate(changeset.comments, :length => 50) unless changeset.nil? %> <% end %>