pull/1/head
ansuz 2016-05-17 17:22:18 +02:00
parent ec221e3c0a
commit 0c89443c1b
1 changed files with 1 additions and 1 deletions

View File

@ -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);