Skip to content

Commit 3c0bac4

Browse files
authored
add server-side hyperscript support (#127)
1 parent 371e897 commit 3c0bac4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ function handleValue (value) {
5757
if (value.__encoded) return value
5858

5959
if (typeof value === 'object') {
60+
if (typeof value.outerHTML === 'string') return value.outerHTML
6061
return Object.keys(value).reduce(function (str, key, i) {
6162
if (str.length > 0) str += ' '
6263

0 commit comments

Comments
 (0)