mirror of
https://github.com/kemko/liquid.git
synced 2026-01-04 17:25:41 +03: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>'
|
||||
|
||||
if col == cols and not (index == length - 1)
|
||||
if col == cols and (index != length - 1)
|
||||
col = 0
|
||||
row += 1
|
||||
result << "</tr>\n<tr class=\"row#{row}\">"
|
||||
|
||||
Reference in New Issue
Block a user