Skip to content

160 email addresses rendered as blocked link#169

Merged
haydenbleasel merged 2 commits intomainfrom
160-email-addresses-rendered-as-blocked-link
Oct 9, 2025
Merged

160 email addresses rendered as blocked link#169
haydenbleasel merged 2 commits intomainfrom
160-email-addresses-rendered-as-blocked-link

Conversation

@haydenbleasel
Copy link
Copy Markdown
Contributor

This pull request addresses an issue where email addresses were incorrectly rendered as blocked links in the streamdown package. It fixes the rendering logic, adds comprehensive tests to ensure correct behavior for various email formats, and updates the harden-react-markdown dependency to the latest version to support this fix.

Bug fix and test coverage:

  • Fixed the issue where email addresses were rendered as blocked links, ensuring they now display correctly. (.changeset/three-candles-create.md)
  • Added a new test suite in email-addresses.test.tsx to verify that email addresses (including multiple addresses, those within sentences, and those with special characters) are rendered properly and not blocked.

Dependency updates:

  • Upgraded harden-react-markdown from version 1.0.5 to 1.1.3 in package.json and pnpm-lock.yaml, pulling in the latest fixes and compatibility improvements. [1] [2] [3] [4]
  • Added the new rehype-harden@1.1.3 dependency, which is now required by the updated harden-react-markdown package. [1] [2]

Test improvements:

  • Updated test descriptions in latex-begin-issue.test.tsx and parse-incomplete-markdown.test.ts to use a more consistent format for referencing related issues. [1] [2] [3]

@haydenbleasel haydenbleasel self-assigned this Oct 9, 2025
@haydenbleasel haydenbleasel linked an issue Oct 9, 2025 that may be closed by this pull request
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Oct 9, 2025

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

Project Deployment Preview Comments Updated (UTC)
streamdown Ready Ready Preview Comment Oct 9, 2025 11:05pm

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedharden-react-markdown@​1.0.5 ⏵ 1.1.3100 +110010091 +1100

View full report

@haydenbleasel haydenbleasel merged commit 20ca02d into main Oct 9, 2025
9 checks passed
@haydenbleasel haydenbleasel deleted the 160-email-addresses-rendered-as-blocked-link branch October 9, 2025 23:05
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.

Email addresses rendered as blocked link

1 participant