-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
AcceptedIssue has been reproduced by MathJax teamIssue has been reproduced by MathJax teamCode ExampleContains an illustrative code example, solution, or work-aroundContains an illustrative code example, solution, or work-aroundReady for Reviewv4
Milestone
Description
Issue Summary
For multi-digit numeric subscripts, the data-latex attribute fails to match the subscript value correctly, causing the first digit to be ignored. This issue does not occur with symbolic subscripts. Tested on the latest Mathjax v4
Steps to Reproduce:
- Open the MathJax live demo
- Enter
$a_{123}$ - Analyze the corresponding HTML output in the browser's developer console. You will see something like the following:
<mjx-texatom data-latex="{23}"...>...</mjx-texatom>
Expected Behavior
I expect something like the following:
<mjx-texatom data-latex="{123}"...>...</mjx-texatom>
Technical details:
- MathJax Version: 4.0
- Client OS: Windows 11
- Browser: Chrome
Metadata
Metadata
Assignees
Labels
AcceptedIssue has been reproduced by MathJax teamIssue has been reproduced by MathJax teamCode ExampleContains an illustrative code example, solution, or work-aroundContains an illustrative code example, solution, or work-aroundReady for Reviewv4