diff --git a/lib/liquid/tags/ifchanged.rb b/lib/liquid/tags/ifchanged.rb index 03a9fb0..86dbe72 100644 --- a/lib/liquid/tags/ifchanged.rb +++ b/lib/liquid/tags/ifchanged.rb @@ -4,7 +4,7 @@ module Liquid def render(context) context.stack do - output = render_all(@nodelist, context) + output = super if output != context.registers[:ifchanged] context.registers[:ifchanged] = output diff --git a/lib/liquid/tags/table_row.rb b/lib/liquid/tags/table_row.rb index 25457a3..dde7f32 100644 --- a/lib/liquid/tags/table_row.rb +++ b/lib/liquid/tags/table_row.rb @@ -54,7 +54,7 @@ module Liquid col += 1 - result << "" << render_all(@nodelist, context) << '' + result << "" << super << '' if col == cols and (index != length - 1) col = 0 diff --git a/performance/shopify/paginate.rb b/performance/shopify/paginate.rb index 23c92c8..3464d08 100644 --- a/performance/shopify/paginate.rb +++ b/performance/shopify/paginate.rb @@ -4,8 +4,6 @@ class Paginate < Liquid::Block def initialize(tag_name, markup, options) super - @nodelist = [] - if markup =~ Syntax @collection_name = $1 @page_size = if $2 @@ -73,7 +71,7 @@ class Paginate < Liquid::Block end end - render_all(@nodelist, context) + super end end