summaryrefslogtreecommitdiffstats
path: root/app/helpers/sort_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-30 08:35:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-30 08:35:43 +0000
commitc3be706ce572f7a7e1c5f47b62215a1aeb66ee2c (patch)
tree1f0df81a92c6c9393e2e1ca8f036b11f62ff352f /app/helpers/sort_helper.rb
parent12785890180a9ee3e3cc88223615ccff2d966c42 (diff)
downloadredmine-c3be706ce572f7a7e1c5f47b62215a1aeb66ee2c.tar.gz
redmine-c3be706ce572f7a7e1c5f47b62215a1aeb66ee2c.zip
Additional escaping.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6327 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/sort_helper.rb')
-rw-r--r--app/helpers/sort_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/sort_helper.rb b/app/helpers/sort_helper.rb
index a1808a056..e7b2ba7c0 100644
--- a/app/helpers/sort_helper.rb
+++ b/app/helpers/sort_helper.rb
@@ -205,7 +205,7 @@ module SortHelper
# Add project_id to url_options
url_options = url_options.merge(:project_id => params[:project_id]) if params.has_key?(:project_id)
- link_to_content_update(caption, url_options, :class => css)
+ link_to_content_update(h(caption), url_options, :class => css)
end
# Returns a table header <th> tag with a sort link for the named column