preact-render-to-string
Advanced tools
Comparing version 3.2.1 to 3.3.0
@@ -129,3 +129,3 @@ (function (global, factory) { | ||
if (vnode == null) { | ||
return '<!---->'; | ||
return ''; | ||
} | ||
@@ -132,0 +132,0 @@ |
@@ -141,3 +141,3 @@ (function (global, factory) { | ||
if (vnode == null) { | ||
return '<!---->'; | ||
return ''; | ||
} | ||
@@ -144,0 +144,0 @@ |
{ | ||
"name": "preact-render-to-string", | ||
"amdName": "preactRenderToString", | ||
"version": "3.2.1", | ||
"version": "3.3.0", | ||
"description": "Render JSX to an HTML string, with support for Preact components.", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
@@ -62,3 +62,3 @@ import { objectKeys, encodeEntities, falsey, memoize, indent, isLargeString, styleObjToCss, hashToClassName, assign, getNodeProps } from './util'; | ||
if (vnode==null) { | ||
return '<!---->'; | ||
return ''; | ||
} | ||
@@ -65,0 +65,0 @@ |
@@ -138,5 +138,3 @@ import render from '../src/jsx'; | ||
<b></b> | ||
<c> | ||
<!----> | ||
</c> | ||
<c></c> | ||
</div> | ||
@@ -143,0 +141,0 @@ `); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
123947
1736