commit 8623acf05ad563edc767112bba902b0e005ac4bd
parent 81131da3fc535c744971d41c52dff097319ba8de
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sun, 22 Feb 2015 10:41:13 -0500
Support old-style background and color attributes
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js
@@ -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) {