removing Rack::Utils.escape_html
This commit is contained in:
parent
46b21ab77b
commit
a00f65ce68
|
@ -51,7 +51,7 @@ module Sinatra
|
||||||
def tag_options(options)
|
def tag_options(options)
|
||||||
unless options.empty?
|
unless options.empty?
|
||||||
attrs = []
|
attrs = []
|
||||||
attrs = options.map { |key, value| %(#{key}="#{Rack::Utils.escape_html(value)}") }
|
attrs = options.map { |key, value| %(#{key}="#{value}") }
|
||||||
" #{attrs.sort * ' '}" unless attrs.empty?
|
" #{attrs.sort * ' '}" unless attrs.empty?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue