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) } } }