aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
diff options
context:
space:
mode:
authorAlexey Vakhov <vakhov@gmail.com>2011-09-25 09:40:49 +0400
committerAlexey Vakhov <vakhov@gmail.com>2011-09-25 09:40:49 +0400
commit5ffa69793fd3e1d4af41ebc719a6736163eb7433 (patch)
treee3967559f06f138fb165f725ecf5032d173bf0ca /actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
parent6eaa9f0dadc9c4667d2040dd862b97bc92bdaf19 (diff)
downloadrails-5ffa69793fd3e1d4af41ebc719a6736163eb7433.tar.gz
rails-5ffa69793fd3e1d4af41ebc719a6736163eb7433.tar.bz2
rails-5ffa69793fd3e1d4af41ebc719a6736163eb7433.zip
escape options for the stylesheet_link_tag method
Diffstat (limited to 'actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb')
-rw-r--r--actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb b/actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
index 2eb3eb31af..343153c8c5 100644
--- a/actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
+++ b/actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
@@ -17,7 +17,7 @@ module ActionView
def asset_tag(source, options)
# We force the :request protocol here to avoid a double-download bug in IE7 and IE8
- tag("link", { "rel" => "stylesheet", "type" => Mime::CSS, "media" => "screen", "href" => ERB::Util.html_escape(path_to_asset(source, :protocol => :request)) }.merge(options), false, false)
+ tag("link", { "rel" => "stylesheet", "type" => Mime::CSS, "media" => "screen", "href" => path_to_asset(source, :protocol => :request) }.merge(options))
end
def custom_dir