From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 13:23:26 +0000 (+0000) Subject: HTML escape at app/views/wiki/diff.rhtml. X-Git-Tag: 1.3.0~1546 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=437c062a4beed980be67de119323cfb4db9b640e;p=redmine.git HTML escape at app/views/wiki/diff.rhtml. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6397 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/wiki/diff.rhtml b/app/views/wiki/diff.rhtml index 8a000daa9..c77f521c7 100644 --- a/app/views/wiki/diff.rhtml +++ b/app/views/wiki/diff.rhtml @@ -4,7 +4,7 @@ <%= wiki_page_breadcrumb(@page) %> -

<%=h @page.pretty_title %>

+

<%=h h(@page.pretty_title) %>

<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %>