|
|
@ -393,8 +393,9 @@ define([
|
|
|
|
Dom = Dom || (new DOMParser()).parseFromString(data,"text/html");
|
|
|
|
Dom = Dom || (new DOMParser()).parseFromString(data,"text/html");
|
|
|
|
return ('<!DOCTYPE html>\n' +
|
|
|
|
return ('<!DOCTYPE html>\n' +
|
|
|
|
'<html>\n' +
|
|
|
|
'<html>\n' +
|
|
|
|
Dom.head.outerHTML + '\n' +
|
|
|
|
(typeof(Hyperjson.toString) === 'function'?
|
|
|
|
Dom.body.outerHTML);
|
|
|
|
Hyperjson.toString(Hyperjson.fromDOM(Dom.body)):
|
|
|
|
|
|
|
|
Dom.head.outerHTML) + '\n');
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var domFromHTML = function (html) {
|
|
|
|
var domFromHTML = function (html) {
|
|
|
|