diff --git a/lib/liquid/htmltags.rb b/lib/liquid/htmltags.rb index 8ceab44..9a6321b 100644 --- a/lib/liquid/htmltags.rb +++ b/lib/liquid/htmltags.rb @@ -55,7 +55,7 @@ module Liquid col += 1 - result << "" << render_all(@nodelist, context) << '' + result << "" << super << '' if col == cols and (index != length - 1) col = 0 diff --git a/lib/liquid/tags/ifchanged.rb b/lib/liquid/tags/ifchanged.rb index c18a5c5..cecbaa7 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