From 34c723aa9ece800de0df775a0530b9d046dc218d Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 19 Aug 2014 15:28:25 -0400 Subject: [PATCH] Prevent empty annotation as first child of semantics element from producing an error. Resolves issue #805. --- unpacked/jax/output/HTML-CSS/jax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js index a095e8f59..ec9628eb8 100644 --- a/unpacked/jax/output/HTML-CSS/jax.js +++ b/unpacked/jax/output/HTML-CSS/jax.js @@ -2772,6 +2772,7 @@ MML.mtable.Augment({toHTML: MML.mbase.HTMLautoload}); MML["annotation-xml"].Augment({toHTML: MML.mbase.HTMLautoload}); + MML.annotation.Augment({toHTML: function (span) {return this.HTMLcreateSpan(span)}}); MML.math.Augment({ toHTML: function (span,node) {