diff --git a/renderjson.js b/renderjson.js index 9d41d2d..c569f48 100644 --- a/renderjson.js +++ b/renderjson.js @@ -148,6 +148,9 @@ var module, window, define, renderjson=(function() { }); } + if(json instanceof HTMLElement) + return json; + // object if (isempty(json, options.property_list)) return themetext(null, my_indent, "object syntax", "{}");