From b1cdeac3c7da738adc20ec6969f842dc6ae6de63 Mon Sep 17 00:00:00 2001 From: nicco Date: Wed, 21 Feb 2018 12:29:35 +0100 Subject: [PATCH] Convert output to string --- src/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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