lib/padrino-cache/helpers/fragment.rb in padrino-cache-0.11.2 vs lib/padrino-cache/helpers/fragment.rb in padrino-cache-0.11.3

- old
+ new

@@ -51,10 +51,10 @@ def cache(key, opts = nil, &block) if settings.caching? began_at = Time.now if value = settings.cache.get(key.to_s) logger.debug "GET Fragment", began_at, key.to_s if defined?(logger) - concat_content(value) + concat_content(value.html_safe) else value = capture_html(&block) settings.cache.set(key.to_s, value, opts) logger.debug "SET Fragment", began_at, key.to_s if defined?(logger) concat_content(value)