From 8d3eca6ee25767a2f08b7b04f600f2a319401eba Mon Sep 17 00:00:00 2001 From: Pixcell Date: Tue, 15 Dec 2020 19:43:37 +0100 Subject: [PATCH] stringify value in emitter when concatenating it --- src/render/emitter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/emitter.ts b/src/render/emitter.ts index 127c8faed0..eb4d4a33b4 100644 --- a/src/render/emitter.ts +++ b/src/render/emitter.ts @@ -23,7 +23,7 @@ export class Emitter { if (this.keepOutputType === true && typeof html !== 'string' && this.html === '') { this.html = html } else { - this.html += html as string + this.html = stringify(this.html) + stringify(html) } } }