Skip to content

fix: preserve linkification in formatted body text#632

Open
hazre wants to merge 2 commits intodevfrom
hazre/fix/formatted-body-url-linkify
Open

fix: preserve linkification in formatted body text#632
hazre wants to merge 2 commits intodevfrom
hazre/fix/formatted-body-url-linkify

Conversation

@hazre
Copy link
Copy Markdown
Member

@hazre hazre commented Apr 2, 2026

Description

Fixes the regression caused by 18a7ca092 that makes urls not get dedicated in formatted_body

  • preserve auto-linking for bare URLs in formatted_body text nodes when abbreviation replacement runs
  • keep URL tokens intact when an abbreviation term appears inside the URL itself
  • add regression coverage for adjacent-to-URL and inside-URL abbreviation cases

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).

@hazre hazre force-pushed the hazre/fix/formatted-body-url-linkify branch from 1a04de8 to 00c4544 Compare April 2, 2026 12:02
@hazre hazre marked this pull request as ready for review April 2, 2026 12:03
@hazre hazre requested a review from 7w1 as a code owner April 2, 2026 12:03
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

Status Preview URL Commit Alias Updated (UTC)
✅ Deployment successful! https://pr-632-sable.raspy-dream-bb1d.workers.dev 00c4544 pr-632 Thu, 02 Apr 2026 12:04:16 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.

1 participant