Skip to content

Commit 0d89653

Browse files
committed
Improve testing for parent span being correct.
1 parent 0765267 commit 0d89653

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

config/AM_HTMLorMML-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.

config/Accessible-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.

config/MML_HTMLorMML-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.

config/TeX-AMS-MML_HTMLorMML-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.

config/TeX-AMS_HTML-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.

config/TeX-MML-AM_HTMLorMML-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/HTML-CSS/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/HTML-CSS/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1620,7 +1620,7 @@
16201620
HTMLcreateSpan: function (span) {
16211621
if (this.spanID) {
16221622
var SPAN = this.HTMLspanElement();
1623-
if (SPAN && SPAN.parentNode === span) {
1623+
if (SPAN && (SPAN.parentNode === span || (SPAN.parentNode||{}).parentNode === span)) {
16241624
while (SPAN.firstChild) {SPAN.removeChild(SPAN.firstChild)}
16251625
SPAN.bbox = {w:0, h:0, d:0, lw:0, rw:0};
16261626
SPAN.scale = 1; SPAN.isMultChar = null;

0 commit comments

Comments
 (0)