mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 21:00:40 -07:00
fixes #91
This commit is contained in:
@@ -19,8 +19,8 @@ export function stringify (value) {
|
||||
if (typeof value.toLiquid === 'function') {
|
||||
return stringify(value.toLiquid())
|
||||
}
|
||||
if (isString(value)) {
|
||||
return value
|
||||
if (isString(value) || value instanceof RegExp || value instanceof Date) {
|
||||
return value.toString()
|
||||
}
|
||||
|
||||
const cache = []
|
||||
|
||||
Reference in New Issue
Block a user