Task of Sysiphus: filter bogus attributes, generated by Gecko (again).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1551 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
7d4978740e
commit
543c6661a9
|
@ -1631,7 +1631,10 @@ function BatchCommand(text) {
|
|||
|
||||
// Namespaces have already been dealt with, so skip
|
||||
if(attr.nodeName.indexOf('xmlns:') === 0) continue;
|
||||
|
||||
|
||||
//remove bogus attributes added by Gecko
|
||||
if (attr.localName == '-moz-math-font-style') continue;
|
||||
|
||||
// only serialize attributes we don't use internally
|
||||
if (attrVal != "" &&
|
||||
$.inArray(attr.localName, ['width','height','xmlns','x','y','viewBox','id','overflow']) == -1)
|
||||
|
|
Loading…
Reference in New Issue