www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit aeefb6cf5b0bee27209579b715c846749db7b3e5
parent 07c5ee11217e725fe501f336dcf43c7b5add47b3
Author: Frédéric Wang <fred.wang@free.fr>
Date:   Mon, 11 Feb 2013 15:46:16 +0100

Save SVG data for an empty mtable. Fix issue392.

Diffstat:
Munpacked/jax/output/SVG/autoload/mtable.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/unpacked/jax/output/SVG/autoload/mtable.js b/unpacked/jax/output/SVG/autoload/mtable.js @@ -1,3 +1,5 @@ +/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */ +/* vim: set ts=2 et sw=2 tw=80: */ /************************************************************* * * MathJax/jax/output/SVG/autoload/mtable.js @@ -31,7 +33,7 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () { toSVG: function (span) { this.SVGgetStyles(); var svg = this.SVG(); - if (this.data.length === 0) {return svg} + if (this.data.length === 0) {this.SVGsaveData(svg);return svg} var values = this.getValues("columnalign","rowalign","columnspacing","rowspacing", "columnwidth","equalcolumns","equalrows", "columnlines","rowlines","frame","framespacing",