From 0c2958dbdac81970f32c1465f96d1d87925acd65 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 13:20:28 +0000 Subject: [PATCH] HTML escape at app/views/wiki/show.rhtml. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6393 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/show.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/wiki/show.rhtml b/app/views/wiki/show.rhtml index 307633990..3d6a6f85b 100644 --- a/app/views/wiki/show.rhtml +++ b/app/views/wiki/show.rhtml @@ -21,7 +21,7 @@ <%= link_to((l(:label_next) + ' »'), :action => 'show', :id => @page.title, :project_id => @page.project, :version => (@content.version + 1)) + " - " if @content.version < @page.content.version %> <%= link_to(l(:label_current_version), :action => 'show', :id => @page.title, :project_id => @page.project) %>
- <%= @content.author ? @content.author.name : "anonyme" %>, <%= format_time(@content.updated_on) %>
+ <%= @content.author ? link_to_user(@content.author) : "anonyme" %>, <%= format_time(@content.updated_on) %>
<%=h @content.comments %>


@@ -58,4 +58,4 @@ <%= render :partial => 'sidebar' %> <% end %> -<% html_title @page.pretty_title %> +<% html_title h(@page.pretty_title) %> -- 2.39.5