Skip to content

Fix greedy math parsing#779

Open
7w1 wants to merge 2 commits intodevfrom
fix-greedy-math-parsing
Open

Fix greedy math parsing#779
7w1 wants to merge 2 commits intodevfrom
fix-greedy-math-parsing

Conversation

@7w1
Copy link
Copy Markdown
Member

@7w1 7w1 commented May 8, 2026

Description

Fixes talking about dollar amounts being spammed by requiring no whitespace after the first $ and no whitespace before the second $ and no number after.
Fixes $$$$$$$$$$$$$$$ being parsed as a bunch of weird latex blocks instead of nonsense.

Fixes #769

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

AI disclosure:

  • Partially AI assisted (clarify which code was AI assisted and briefly explain what it does).
  • Fully AI generated (explain what all the generated code does in moderate detail).

Tests were AI generated

@7w1 7w1 requested a review from hazre as a code owner May 8, 2026 22:29
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

Status Preview URL Commit Alias Updated (UTC)
✅ Deployment successful! https://pr-779-sable.raspy-dream-bb1d.workers.dev 5886921 pr-779 Fri, 08 May 2026 22:31:14 GMT

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.

Current TeX delimiter results in messages involving dollar amounts being mangled

1 participant