Add xmlns attribute for all browsers (not just Chrome), since Safari and IE seem also to leave it out
This commit is contained in:
parent
4b21f3a8e0
commit
e25e07a8ba
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -557,17 +557,15 @@
|
|||
});
|
||||
}
|
||||
|
||||
if (HUB.Browser.isChrome) {
|
||||
MML.math.Augment({
|
||||
//
|
||||
// Chrome doesn't seem to add the xmlns attribute, so do it by hand.
|
||||
//
|
||||
toNativeMML: function (parent) {
|
||||
this.SUPER(arguments).toNativeMML.call(this,parent);
|
||||
parent.lastChild.setAttribute("xmlns",nMML.MMLnamespace);
|
||||
}
|
||||
});
|
||||
}
|
||||
MML.math.Augment({
|
||||
//
|
||||
// Some browsers don't seem to add the xmlns attribute, so do it by hand.
|
||||
//
|
||||
toNativeMML: function (parent) {
|
||||
this.SUPER(arguments).toNativeMML.call(this,parent);
|
||||
parent.lastChild.setAttribute("xmlns",nMML.MMLnamespace);
|
||||
}
|
||||
});
|
||||
|
||||
MML.TeXAtom.Augment({
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue
Block a user