Skip to content

mathml2svg() throwing error on latest version #2879

@svejdani

Description

@svejdani

Issue Summary

A summary of the issue and the browser/OS environment in which it occurs. If
suitable, include the steps required to reproduce the bug.
Mathjax function mathml2svg(mathml) throws an error. This is happening after the latest release. Script that is being used is
'https://cdn.jsdelivr.net/npm/mathjax@3/es5/mml-svg.js'
image

Steps to Reproduce:

  1. Load Mathjax using latest version script 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/mml-svg.js'
  2. Use the mathjax method mathml2svg()
  3. mathml2svg throws an error

Downgrading to version 3.1 resolves the issue. Conversion to svg was working fine before latest 3.2.1 release.

Technical details:

  • MathJax Version: 3.2.1 (latest commit: f3aaf3a)
  • Client OS: Mac OS X 11.2.3
  • Browser: Chrome 100.0.4896.127

Supporting information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions