Stop autolinks at quote in rich text

Task 10624 · Done · Coder · created · updated

In the rich-text editor/renderer, an auto-detected URL followed by JSON runs on into it: `[{"url":"https://host/path/","filename":"Screenshot 2026...png"}]` links `https://host/path/","filename":"Screenshot` instead of ending at the `"` (seen in a task body, Task 10610's screenshot). - An autolinked URL ends before a `"` (and the JSON punctuation after it), both when markdown is parsed (`tiptap-markdown` linkify) and when typed (Link autolink). Out of scope: link click behaviour (Task 10610), explicit `[text](url)` links. Done means: a vitest in `apps/web/src/components/richtext` renders the JSON above and finds an anchor whose href ends at `/` before the quote; `./dc check quick` green.

Outcome

Rich-text autolinks now end before a `"` (markdown-it linkify + typed Link autolink); vitest autolinkQuote.test.tsx proves both paths, quick gate green, visual check on live stack shows only https://host/path/ linked. PR #7132 queued in merge lane. Memory: none applied.

Pull request

Artifacts

Activity

  • Created
  • Updated
  • Run
  • Runner started
  • Runner ended (done)