Forgot to do the corresponding change in SVG output. Issue #891.

This commit is contained in:
Davide P. Cervone 2014-08-19 13:39:21 -04:00
parent 3ca32dc64b
commit 944e8ad1ce

View File

@ -164,7 +164,7 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
var Y, fY, n = ""; var Y, fY, n = "";
if (typeof(values.align) !== "string") {values.align = String(values.align)} if (typeof(values.align) !== "string") {values.align = String(values.align)}
if (values.align.match(/(top|bottom|center|baseline|axis)( +(-?\d+))?/)) if (values.align.match(/(top|bottom|center|baseline|axis)( +(-?\d+))?/))
{n = RegExp.$3; values.align = RegExp.$1} else {values.align = this.defaults.align} {n = RegExp.$3||""; values.align = RegExp.$1} else {values.align = this.defaults.align}
if (n !== "") { if (n !== "") {
// //
// Find the height of the given row // Find the height of the given row