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
  • #2783
Closed
Open
Issue created Oct 08, 2021 by Administrator@rootContributor

long division is not properly displayed(Uncaught TypeError: Cannot read properties of undefined (reading 'dataset'))

Created by: henok-outlier

Issue Summary

<math xmlns="http://www.w3.org/1998/Math/MathML">
    <mlongdiv charalign="center" charspacing="0px" stackalign="left">
        <mn>8</mn>
        <mrow>
            <none></none>
            <mn>3</mn>
        </mrow>
        <msgroup>
            <mn>251</mn>
            <msrow>
                <menclose notation="bottom">
                    <mn>2</mn>
                </menclose>
                <menclose notation="bottom">
                    <mn>4</mn>
                </menclose>
            </msrow>
            <msrow>
                <none></none>
                <mn>1</mn>
            </msrow>
        </msgroup>
    </mlongdiv>
</math>

I've this MahtML generated from CKEditor4 mathtype, and want to render in the FE using Mahtjax.

Uncaught TypeError: Cannot read properties of undefined (reading 'dataset')

Steps to Reproduce:

  1. Open https://www.mathjax.org/#demo
  2. Copy the above mathml to the input
  3. Mathype input error will show up

Technical details:

Mathjax: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_SVG Client OS: Mac OS X 11.4 Browser: Chrome Version 94.0.4606.71 (Official Build) (x86_64)

Supporting information:

Thee formula is not correctly displayed and there's an error in the console Screen Shot 2021-10-08 at 1 58 27 PM

But this is how the same formula is displayed in Mathtype,

Screen Shot 2021-10-08 at 10 25 34 AM
Assignee
Assign to
Time tracking