Skip to content

Failed to execute 'splitText' on 'Text' when mixing TeX and asciimathml together with <br /> tag #3301

Open
@sowiso

Description

@sowiso

Issue Summary

With the example text, math does not get rendered and a splitText error is thrown

Steps to Reproduce:

Use this html to typeset:

- This exercise type allow for multiple open input fields with a related evaluation. Par exemple, $\mathbb{R} \left\{-2\right\}$ sera not&eacute; $]-\infty;-2[U]-2;+\infty[$.<br />- Pour noter un ensemble de valeurs discr&egrave;tes, utilise le symbole [...; ...] du clavier. Par exemple : ${2}$ sera not&eacute; $[2;2]$ et `{2;3}` sera not&eacute; $[2;2]U[3;3]$.

Technical details:

  • MathJax Version: 3.2
  • Browser: Chrome 130.0.6723.58

Supporting information:

It happens on the live demo with the above html:

image

If I remove the <br /> tag from the html, the problem does not occur.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedIssue has been reproduced by MathJax teamCode ExampleContains an illustrative code example, solution, or work-aroundMergedMerged into develop branchv3v4

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions