Skip to content

Commit

Permalink
IE8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Pulges committed Aug 8, 2014
1 parent ed20981 commit 315fccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dom/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
}
}

Expand Down

0 comments on commit 315fccb

Please sign in to comment.