mathjax / mathjax/MathJax

Crashing when using empty vec() of AsciiMath

Open
#3,195 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Accepted Upstream v3
Dominant language
JavaScript
Stars
10.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Issue Summary

When I input vec() of AsciiMath, it causes Math Processing Error.

see also: https://github.com/asciimath/asciimathml/issues/130

Steps to Reproduce:

see the link above.

Supporting information:

This issue has already fixed in the upstream branch of asciimathml (link to commit), but MathJax doesn't contain this change yet.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked upstream AsciiMath issue and commit 36b3cb0a1bac755b4f66a0b49e2e7c9e85cf55bb, then locate the corresponding AsciiMath handling in MathJax. Reproduce the issue with vec() and compare MathJax's behavior with the upstream fix. Done means empty vec() no longer causes a Math Processing Error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.