diff --git a/src/actions.ts b/src/actions.ts index f09ef52..cf13a31 100644 --- a/src/actions.ts +++ b/src/actions.ts @@ -107,7 +107,7 @@ export const variables: ActionFunction = (html, options, re) => { case 'object': return JSON.stringify(output) default: - return output + return String(output) } }], length: end + re.ending.length