Allocate one less object using html_safe during content_tag construction

This commit is contained in:
Josh Jordan 2013-11-11 10:25:24 -05:00
parent aa7fdfb859
commit ea6640d05d
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ module ActionView
attrs << tag_option(key, value, escape)
end
end
" #{attrs.sort! * ' '}".html_safe unless attrs.empty?
" #{attrs.sort! * ' '}" unless attrs.empty?
end
def data_tag_option(key, value, escape)