mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 03:10:39 -07:00
Use the same context class for isolated subcontexts for the require tag
This commit is contained in:
@@ -135,7 +135,7 @@ module Liquid
|
|||||||
def new_isolated_subcontext
|
def new_isolated_subcontext
|
||||||
check_overflow
|
check_overflow
|
||||||
|
|
||||||
Context.build(
|
self.class.build(
|
||||||
resource_limits: resource_limits,
|
resource_limits: resource_limits,
|
||||||
static_environments: static_environments,
|
static_environments: static_environments,
|
||||||
registers: StaticRegisters.new(registers)
|
registers: StaticRegisters.new(registers)
|
||||||
|
|||||||
Reference in New Issue
Block a user