Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #2892
Closed
Open
Issue created Jul 03, 2022 by Administrator@rootContributor

Typesetting the same content results in nested assistive content

Created by: fast-reflexes

Issue Summary

Every time the same content is typeset anew with MathJax.typesetPromise(), the assistive math tag gets a nested version of the math content itself.

Steps to Reproduce:

Go to https://codesandbox.io/s/better-react-mathjax-20-m8uf2c

  1. Let the page load, check the assistive mml subelement of the content typeset on startup.
  2. Click TYPESET and observe what change occurs in the assistive math element (it gets a nested version of the math element itself)
  3. Do it again to observe a further nesting in the assistive element.

No matter if typesetClear is used or not, this is the resulting behaviour.

I would expect the assistive element to look the same after typesetting anew.

Technical details:

  • MathJax Version: 3.2.1
  • Client OS: MacOS Catalina 10.15.7
  • Browser: Chrome Version 103.0.5060.53 (Official Build) (x86_64)

I am using the following MathJax configuration:

DEFAULT (e.g. typesetting on startup)

and loading MathJax via

<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
Assignee
Assign to
Time tracking