Merge pull request #12853 from joshjordan/master

Allocate one less object using html_safe during content_tag construction
This commit is contained in:
Rafael Mendonça França 2013-11-15 09:45:14 -08:00
commit f6f4bed34d

@ -151,7 +151,7 @@ def tag_options(options, escape = true)
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)