Closed cherifGsoul closed 5 years ago
Fixes #710
The logic changes are in this line https://github.com/canjs/can-stache/blob/b530682034cf1e59285046df5475b57ce5e5b0b1/src/mustache_core.js#L293
branchRenderer
DocumentFragment
textContent
""+res
Fixes #710
The changes:
The logic changes are in this line https://github.com/canjs/can-stache/blob/b530682034cf1e59285046df5475b57ce5e5b0b1/src/mustache_core.js#L293
branchRenderer
is aDocumentFragment
instance, in this case return thetextContent
of this result,""+res
doesn't castDocumentFragment
instance to string.