From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 13:20:28 +0000 (+0000) Subject: HTML escape at app/views/wiki/show.rhtml. X-Git-Tag: 1.3.0~1550 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0c2958dbdac81970f32c1465f96d1d87925acd65;p=redmine.git 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 --- 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) %>