mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 14:30:38 -07:00
stringify value in emitter when concatenating it
This commit is contained in:
@@ -23,7 +23,7 @@ export class Emitter {
|
|||||||
if (this.keepOutputType === true && typeof html !== 'string' && this.html === '') {
|
if (this.keepOutputType === true && typeof html !== 'string' && this.html === '') {
|
||||||
this.html = html
|
this.html = html
|
||||||
} else {
|
} else {
|
||||||
this.html += html as string
|
this.html = stringify(this.html) + stringify(html)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user