mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Fix array handling shortcut in disable_tags
This commit is contained in:
@@ -169,7 +169,7 @@ module Liquid
|
||||
end
|
||||
|
||||
def disable_tags(context, tags, &block)
|
||||
return yield unless tags
|
||||
return yield if tags.empty?
|
||||
context.registers['disabled_tags'].disable(tags, &block)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user