Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock authored Jul 5, 2022
1 parent 806db00 commit 1a82ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ function _renderToString(vnode, context, opts, inner, isSvgMode, selectValue) {
// We merge adjacent text nodes, otherwise each piece would be printed
// on a new line.
if (lastWasText && isText) {
pieces[pieces.length - 1] = pieces[pieces.length - 1] + ret;
pieces[pieces.length - 1] += ret;
} else {
pieces.push(ret);
}
Expand Down

0 comments on commit 1a82ffc

Please sign in to comment.