Write one value at a time for array variables

This commit is contained in:
Ian Ker-Seymer
2024-12-10 18:12:39 -05:00
parent 42b6763546
commit 5e459b884a
+1 -1
View File
@@ -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