Skip to content

Make sure the parsers array is cleared for tex and text parsers. (#1474)#1502

Open
dpvc wants to merge 1 commit into
developfrom
issue1474
Open

Make sure the parsers array is cleared for tex and text parsers. (#1474)#1502
dpvc wants to merge 1 commit into
developfrom
issue1474

Conversation

@dpvc

@dpvc dpvc commented Jun 11, 2026

Copy link
Copy Markdown
Member

This PR moves the popParser() call in the mml() function of the TeXParser object so that it will be performed even when the function exits early. It also adds parseOptions.clear() to the TeX input jax reset() function, as well as the TextMacros preprocessor, just like is done in the TeX input jax compile() function.

Resolves issue #1474.

@dpvc dpvc requested a review from zorkow June 11, 2026 21:13
@dpvc dpvc added this to the v4.1.3 milestone Jun 11, 2026
@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.47%. Comparing base (a65456c) to head (7e7fa55).

Additional details and impacted files
@@            Coverage Diff             @@
##           develop    #1502     +/-   ##
==========================================
  Coverage    86.47%   86.47%             
==========================================
  Files          340      340             
  Lines        86125    86127      +2     
  Branches      3206     4848   +1642     
==========================================
+ Hits         74476    74478      +2     
+ Misses       11649    11628     -21     
- Partials         0       21     +21     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant