Fix/2109#316
Open
conradmugabe wants to merge 3 commits into
Open
Conversation
Prettier rewrites the auto-generated release-notes bullets from * to -. Isolated here so the fix commits stay free of unrelated formatting drift. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The currency-escape step escaped any $ followed by a digit, which
corrupted math delimiters whose content opened with a number
($$0.075...$$, $250 \text{ mL}...$), so KaTeX rendered them broken.
Mask $$...$$ blocks and inline $...$ spans containing a LaTeX command
before escaping, then restore them verbatim, so real currency is still
escaped while math delimiters survive.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Unit tests assert preprocessLaTeX keeps $$...$$ and inline $...$ math delimiters intact (digit-leading, leading-space, mixed with currency) while still escaping real currency. Component tests render the failing equations through Markdown and assert a .katex node with no raw $$ leak. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Member
|
Claude finished @conradmugabe's task —— View job E2E Coverage Review
Result: No new --- | Branch: |
mamigot
approved these changes
Jul 7, 2026
mamigot
left a comment
Member
There was a problem hiding this comment.
✅ E2E Coverage — No Issues
No new app routes were introduced. All existing coverage is intact.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Changes
Screenshots
Screencast.from.2026-07-07.19-12-28.mp4