Skip to content

Commit

Permalink
stringify value in emitter when concatenating it
Browse files Browse the repository at this point in the history
  • Loading branch information
Pixcell authored and harttle committed Dec 16, 2020
1 parent 6a0ad10 commit 8d3eca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/emitter.ts
Expand Up @@ -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)
}
}
}

0 comments on commit 8d3eca6

Please sign in to comment.