stringify value in emitter when concatenating it

This commit is contained in:
Pixcell
2020-12-16 10:20:10 +08:00
committed by Jun Yang
parent 6a0ad102a8
commit 8d3eca6ee2
+1 -1
View File
@@ -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)
}
}
}