mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 17:00:39 -07:00
disabled_tags is now always avaiable
This commit is contained in:
@@ -22,10 +22,9 @@ module Liquid
|
||||
end
|
||||
|
||||
def render_to_output_buffer(context, output)
|
||||
context.registers['disabled_tags']&.disable('include') do
|
||||
return render_tag(context, output)
|
||||
context.registers['disabled_tags'].disable('include') do
|
||||
render_tag(context, output)
|
||||
end
|
||||
render_tag(context, output)
|
||||
end
|
||||
|
||||
def render_tag(context, output)
|
||||
|
||||
Reference in New Issue
Block a user