From 8a7e3748ec440cc97ed39451b2da94dbc6176ef2 Mon Sep 17 00:00:00 2001 From: J Date: Wed, 17 Jun 2026 17:04:58 +0800 Subject: [PATCH] docs(markdown): drop inaccurate .io example from bare-filename comment io is not in the FILE_EXTENSIONS list, so .io domains are never suppressed. Listing it as an example was misleading. Co-authored-by: multica-agent --- packages/ui/markdown/linkify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/markdown/linkify.ts b/packages/ui/markdown/linkify.ts index 1197ef943..27fd2dd89 100644 --- a/packages/ui/markdown/linkify.ts +++ b/packages/ui/markdown/linkify.ts @@ -25,7 +25,7 @@ const FILE_PATH_REGEX = new RegExp( // A bare filename token like "plan.md" or "vite.config.ts": a single path // segment ending in a known file extension, with no slash, scheme, or port. // linkify-it fuzzy-matches these as domains because several of the extensions -// (md, io, sh, rs, py, …) are also valid TLDs. We use this to stop bare +// (md, sh, rs, py, …) are also valid TLDs. We use this to stop bare // filenames from being auto-linked to dead external sites like https://plan.md. const BARE_FILENAME_REGEX = new RegExp(`^[\\w.-]+\\.(?:${FILE_EXTENSIONS})$`, 'i')