Allocate one less object using html_safe during content_tag construction
This commit is contained in:
parent
aa7fdfb859
commit
ea6640d05d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue