mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
code styling
This commit is contained in:
@@ -89,9 +89,7 @@ module Liquid
|
||||
|
||||
# Cache only exists during parsing
|
||||
if cache
|
||||
return cache[markup] if cache.key?(markup)
|
||||
|
||||
cache[markup] = inner_parse(markup, ss, cache).freeze
|
||||
cache.fetch(markup) { inner_parse(markup, ss, cache).freeze }
|
||||
else
|
||||
inner_parse(markup, ss, nil).freeze
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user