Skip to content

Handle in-line breaks in a math node that is an embellished operator in SVG output. (mathjax/MathJax#3587)#1524

Open
dpvc wants to merge 1 commit into
developfrom
issue3587
Open

Handle in-line breaks in a math node that is an embellished operator in SVG output. (mathjax/MathJax#3587)#1524
dpvc wants to merge 1 commit into
developfrom
issue3587

Conversation

@dpvc

@dpvc dpvc commented Jul 7, 2026

Copy link
Copy Markdown
Member

This PR addresses a problem in SVG output for an inline math element that is an embellished operator. Such an operator should not have line breaks within it (unless they are explicit breaks), but the SVG output was processing them anyway. The fix is to skip the marking of in-line breaks when the math node is an embellished operator.

Resolves issue mathjax/MathJax#3587.

@dpvc dpvc requested a review from zorkow July 7, 2026 18:36
@dpvc dpvc added this to the v4.2 milestone Jul 7, 2026
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.46%. Comparing base (05c4055) to head (05cd69f).
⚠️ Report is 4 commits behind head on develop.

Files with missing lines Patch % Lines
ts/output/common.ts 0.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1524      +/-   ##
===========================================
- Coverage    86.47%   86.46%   -0.01%     
===========================================
  Files          340      340              
  Lines        86178    86181       +3     
  Branches      4856     4856              
===========================================
  Hits         74520    74520              
- Misses       11658    11661       +3     

☔ 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