Support old-style background and color attributes

This commit is contained in:
Davide P. Cervone 2015-02-22 10:41:13 -05:00
parent 81131da3fc
commit 8623acf05a

View File

@ -584,7 +584,9 @@
CHTMLhandleColor: function (span) {
if (this.mathcolor) {span.style.color = this.mathcolor}
else if (this.color) {span.style.color = this.color}
if (this.mathbackground) {span.style.backgroundColor = this.mathbackground}
else if (this.background) {span.style.backgroundColor = this.background}
},
CHTMLhandleScriptlevel: function (span) {