Skip to content

Escape currency dollars in markdown rendering#11

Merged
bentsignal merged 1 commit into
mainfrom
fix-money-formatting
May 12, 2026
Merged

Escape currency dollars in markdown rendering#11
bentsignal merged 1 commit into
mainfrom
fix-money-formatting

Conversation

@bentsignal

Copy link
Copy Markdown
Owner

Summary

  • Escape dollar signs that precede digits before passing markdown content to ReactMarkdown.
  • Prevent currency values like $10 from being parsed as math in rendered markdown.
  • Keep the change scoped to the markdown block rendering path in packages/ui.

Testing

  • Not run (PR content only).
  • Verified the patch updates markdown rendering to escape currency-formatted dollar signs.

- Preserve literal currency amounts in Markdown blocks
- Prevent `$` followed by digits from being parsed as math
@vercel

vercel Bot commented May 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vera Error Error May 12, 2026 8:13pm
vera-xr Error Error May 12, 2026 8:13pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
vera-docs Skipped Skipped May 12, 2026 8:13pm

Request Review

@bentsignal
bentsignal merged commit bb6c79a into main May 12, 2026
2 of 4 checks passed
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