From 8c77f4a15400466f4ab9dc9bae31ae722e98581b Mon Sep 17 00:00:00 2001 From: Nate Goldman Date: Mon, 16 Apr 2018 16:34:36 -0700 Subject: [PATCH] add support server-side hyperscript support --- lib/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/server.js b/lib/server.js index 4da8277..7f47a90 100644 --- a/lib/server.js +++ b/lib/server.js @@ -57,6 +57,7 @@ function handleValue (value) { if (value.__encoded) return value if (typeof value === 'object') { + if (typeof value.outerHTML === 'string') return value.outerHTML return Object.keys(value).reduce(function (str, key, i) { if (str.length > 0) str += ' '