mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-17 01:40:42 -07:00
Write one value at a time for array variables
This commit is contained in:
@@ -97,7 +97,7 @@ module Liquid
|
||||
obj = render(context)
|
||||
|
||||
if obj.is_a?(Array)
|
||||
output << obj.join
|
||||
obj.each { |o| output << o.to_s }
|
||||
elsif obj.nil?
|
||||
else
|
||||
output << obj.to_s
|
||||
|
||||
Reference in New Issue
Block a user