We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa18e65 commit 2828f24Copy full SHA for 2828f24
src/index.js
@@ -63,7 +63,7 @@ export default function renderToString(vnode, context, opts, inner, isSvgMode) {
63
}
64
65
// #text nodes
66
- if (!nodeName) {
+ if (typeof vnode!=='object' && !nodeName) {
67
return encodeEntities(vnode);
68
69
0 commit comments