From 439ec9b76fefd0fd8ca3d55e1c898402d9841ae3 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Wed, 1 Jul 2026 00:53:45 +0000 Subject: [PATCH] chore: generate --- .../session-ui/src/components/markdown-inline-code-kind.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/session-ui/src/components/markdown-inline-code-kind.ts b/packages/session-ui/src/components/markdown-inline-code-kind.ts index 6d32c3b246..ee6cc8dccc 100644 --- a/packages/session-ui/src/components/markdown-inline-code-kind.ts +++ b/packages/session-ui/src/components/markdown-inline-code-kind.ts @@ -1895,8 +1895,7 @@ export function inlineCodeKind(text: string): "path" | "url" | undefined { if (/^\/[a-z][a-z0-9-]*$/i.test(text)) return if (/\s/.test(text)) return if (/[()\[\]{}*+=<>|&^"';]/.test(text)) return - if (/[/\\]/.test(text) || /^\.\.?[/\\]/.test(text) || hasPathExtension(text) || hasPathFileName(text)) - return "path" + if (/[/\\]/.test(text) || /^\.\.?[/\\]/.test(text) || hasPathExtension(text) || hasPathFileName(text)) return "path" } function hasPathExtension(text: string) {