mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03: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