diff --git a/src/transform/liquid/evaluation.ts b/src/transform/liquid/evaluation.ts index fe3a0292..e6ed65b1 100644 --- a/src/transform/liquid/evaluation.ts +++ b/src/transform/liquid/evaluation.ts @@ -21,6 +21,7 @@ const operators: Record = { '<': ((l, r) => l !== null && r !== null && l < r) as NoFilter, '>=': ((l, r) => l !== null && r !== null && l >= r) as NoFilter, '<=': ((l, r) => l !== null && r !== null && l <= r) as NoFilter, + contains: ((l, r) => l !== null && r !== null && l.includes(r)) as NoFilter, and: ((l, r) => isTruthy(l) && isTruthy(r)) as NoFilter, or: ((l, r) => isTruthy(l) || isTruthy(r)) as NoFilter, '|': ((l, filter, exp) => {