diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-02 13:20:28 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-02 13:20:28 +0000 |
commit | 0c2958dbdac81970f32c1465f96d1d87925acd65 (patch) | |
tree | 1bfe95200bc63d776107dda283f208ba8f4b1688 /app/views/wiki | |
parent | a1847bc4e60c3c83f870816293d9b04472348a6f (diff) | |
download | redmine-0c2958dbdac81970f32c1465f96d1d87925acd65.tar.gz redmine-0c2958dbdac81970f32c1465f96d1d87925acd65.zip |
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
Diffstat (limited to 'app/views/wiki')
-rw-r--r-- | app/views/wiki/show.rhtml | 4 |
1 files 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) %> <br /> - <em><%= @content.author ? @content.author.name : "anonyme" %>, <%= format_time(@content.updated_on) %> </em><br /> + <em><%= @content.author ? link_to_user(@content.author) : "anonyme" %>, <%= format_time(@content.updated_on) %> </em><br /> <%=h @content.comments %> </p> <hr /> @@ -58,4 +58,4 @@ <%= render :partial => 'sidebar' %> <% end %> -<% html_title @page.pretty_title %> +<% html_title h(@page.pretty_title) %> |