Skip to content

Commit f8e3f35

Browse files
committed
Use variant form for more primes in SVG output (match HTML-CSS output). Resolves problem identified by Fred in issue #268.
1 parent 01113c0 commit f8e3f35

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/TeX-AMS-MML_SVG-full.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jax/output/SVG/jax.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unpacked/jax/output/SVG/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@
12651265
//
12661266
// Primes must come from another font
12671267
//
1268-
if (isScript && this.data.join("").match(/\u2032/))
1268+
if (isScript && this.data.join("").match(/['`"\u00B4\u2032-\u2037]/))
12691269
{variant = SVG.FONTDATA.VARIANT["-TeX-variant"]}
12701270
//
12711271
// Typeset contents

0 commit comments

Comments
 (0)