mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 14:00:39 -07:00
fix: array output now join with "" instead of ","
This commit is contained in:
@@ -32,6 +32,7 @@ export function stringify (value: any): string {
|
||||
value = toValue(value)
|
||||
if (isString(value)) return value
|
||||
if (isNil(value)) return ''
|
||||
if (isArray(value)) return value.map(x => stringify(x)).join('')
|
||||
return String(value)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user