From 315fccbc9d2a617552b29345b43cc24273e8184d Mon Sep 17 00:00:00 2001 From: Oliver Pulges Date: Fri, 8 Aug 2014 14:50:36 +0300 Subject: [PATCH] IE8 fix --- src/dom/parse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom/parse.js b/src/dom/parse.js index b41b671..323b715 100644 --- a/src/dom/parse.js +++ b/src/dom/parse.js @@ -507,7 +507,7 @@ wysihtml5.dom.parse = (function() { if (attributes["class"] && clearInternals) { attributes["class"] = attributes["class"].replace("wysiwyg-tmp-selected-cell", ""); if ((/^\s*$/g).test(attributes["class"])) { - delete attributes.class; + delete attributes["class"]; } }