removing Rack::Utils.escape_html

This commit is contained in:
Lucas Souza 2011-07-06 10:25:52 -03:00
parent 46b21ab77b
commit a00f65ce68

View File

@ -51,7 +51,7 @@ module Sinatra
def tag_options(options)
unless options.empty?
attrs = []
attrs = options.map { |key, value| %(#{key}="#{Rack::Utils.escape_html(value)}") }
attrs = options.map { |key, value| %(#{key}="#{value}") }
" #{attrs.sort * ' '}" unless attrs.empty?
end
end