From ffb3591a6402817b197466b71f28ae0d91d4bc5a Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 30 Jul 2019 19:06:20 -0400 Subject: [PATCH] Make tags work for starred environments. Resolves issue #316 --- mathjax3-ts/input/tex/Tags.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mathjax3-ts/input/tex/Tags.ts b/mathjax3-ts/input/tex/Tags.ts index 806a41287..539af34ac 100644 --- a/mathjax3-ts/input/tex/Tags.ts +++ b/mathjax3-ts/input/tex/Tags.ts @@ -399,10 +399,10 @@ export class AbstractTags implements Tags { if (ct.taggable && !ct.noTag) { if (ct.defaultTags) { this.autoTag(); - } else { - return null; } - return this.makeTag(); + if (ct.tag) { + return this.makeTag(); + } } return null; }