From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 13:01:40 +0000 (+0000) Subject: HTML escape at app/views/documents/show.rhtml. X-Git-Tag: 1.3.0~1576 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a2f2592fe10dc47fa64cbf8e3e471beba7928e7c;p=redmine.git HTML escape at app/views/documents/show.rhtml. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6367 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml index 63e321013..29845bfa3 100644 --- a/app/views/documents/show.rhtml +++ b/app/views/documents/show.rhtml @@ -25,7 +25,7 @@ <% end %> <% end %> -<% html_title @document.title -%> +<% html_title h(@document.title) -%> <% content_for :header_tags do %> <%= stylesheet_link_tag 'scm' %>