From e3b8a1095911adf03fb51ea9f5ae5a3652f87061 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 30 May 2016 17:33:24 +0200 Subject: [PATCH] fix magicline filter --- www/pad/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pad/main.js b/www/pad/main.js index c2f2d3f65..b71ac111d 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -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(el.getAttribute('style'))); + /magicline/.test(el.getAttribute('style'))); if (filter) { console.log("[hyperjson.serializer] prevented an element" + "from being serialized:", el);