mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 11:20:41 -07:00
Avoid warning for grouped expression
This commit is contained in:
@@ -57,7 +57,7 @@ module Liquid
|
|||||||
|
|
||||||
result << "<td class=\"col#{col}\">" << render_all(@nodelist, context) << '</td>'
|
result << "<td class=\"col#{col}\">" << render_all(@nodelist, context) << '</td>'
|
||||||
|
|
||||||
if col == cols and not (index == length - 1)
|
if col == cols and (index != length - 1)
|
||||||
col = 0
|
col = 0
|
||||||
row += 1
|
row += 1
|
||||||
result << "</tr>\n<tr class=\"row#{row}\">"
|
result << "</tr>\n<tr class=\"row#{row}\">"
|
||||||
|
|||||||
Reference in New Issue
Block a user