Additional escaping.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6327 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
1278589018
commit
c3be706ce5
13 files changed
+19
-19
No files matched your search
@@ -57,7 +57,7 @@ module CustomFieldsHelper
|
||||
|
||||
# Return custom field label tag
|
||||
def custom_field_label_tag(name, custom_value)
|
||||
content_tag "label", custom_value.custom_field.name +
|
||||
content_tag "label", h(custom_value.custom_field.name) +
|
||||
(custom_value.custom_field.is_required? ? " <span class=\"required\">*</span>" : ""),
|
||||
:for => "#{name}_custom_field_values_#{custom_value.custom_field.id}",
|
||||
:class => (custom_value.errors.empty? ? nil : "error" )
|
||||
|
||||
@@ -24,7 +24,7 @@ module QueriesHelper
|
||||
def column_header(column)
|
||||
column.sortable ? sort_header_tag(column.name.to_s, :caption => column.caption,
|
||||
:default_order => column.default_order) :
|
||||
content_tag('th', column.caption)
|
||||
content_tag('th', h(column.caption))
|
||||
end
|
||||
|
||||
def column_content(column, issue)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user