Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add missing html_safe

  • Loading branch information...
commit bd6ccd1ed838596cebc9a524fec4a881b6b186ae 1 parent 339203e
@jashkenas jashkenas authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/jammit/helper.rb
View
2  lib/jammit/helper.rb
@@ -16,7 +16,7 @@ module Helper
# compressed CSS, and in development the stylesheet URLs are passed verbatim.
def include_stylesheets(*packages)
options = packages.extract_options!
- return individual_stylesheets(packages, options) unless should_package?
+ return html_safe(individual_stylesheets(packages, options)) unless should_package?
disabled = (options.delete(:embed_assets) == false) || (options.delete(:embed_images) == false)
return html_safe(packaged_stylesheets(packages, options)) if disabled || !Jammit.embed_assets
return html_safe(embedded_image_stylesheets(packages, options))

0 comments on commit bd6ccd1

Please sign in to comment.
Something went wrong with that request. Please try again.