pull/1/head
ansuz 9 years ago
parent ec221e3c0a
commit 0c89443c1b

@ -50,7 +50,7 @@ define([
// return !(el.tagName === 'SPAN' && el.contentEditable === 'false');
var filter = (el.tagName === 'SPAN' &&
el.getAttribute('contentEditable') === 'false' &&
/position:absolute;border-top:1px dashed/.test(ml.getAttribute('style')));
/position:absolute;border-top:1px dashed/.test(el.getAttribute('style')));
if (filter) {
console.log("[hyperjson.serializer] prevented an element" +
"from being serialized:", el);

Loading…
Cancel
Save