Before submitting#
Area#
apps/web
Summary#
A tel: link in a chat message does nothing when clicked. The anchor is rendered with an empty destination, so the phone app never opens. Related link fixes that took the same path: #23486 (cursor:// and vscode://), #31175 (mailto: in the desktop shell), #31386 (obsidian://).
Steps to reproduce#
- In the desktop app, have an agent reply with a Markdown link such as
[Call 555-0100](tel:+15555550100).
- Click the link.
Expected behavior#
The OS phone handler opens with the number (on macOS, FaceTime, which can place the call through a paired iPhone), with the same confirmation the app shows for other external app links.
Actual behavior#
Nothing happens. The link text is styled as a link, but the href is blank.
On main, markdownUrlTransform in apps/web/src/components/ChatMarkdown.tsx falls back to safeUrl, whose SAFE_PROTOCOL is /^(?:https?|ircs?|mailto|xmpp)$/i (react-markdown's default), so tel: returns "". Following #23486, the shared sanitizer's href protocol list in packages/shared/src/markdownPipeline.ts and parseSafeExternalUrl in apps/desktop/src/electron/ElectronShell.ts would also need to let tel: through for a click to reach shell.openExternal.
Impact#
Minor bug or occasional failure
Version or commit#
0.1.12-nightly.20261123.5151 (desktop). SAFE_PROTOCOL is unchanged on main as of 2026-12-05.
Environment#
macOS 27.0.1, T3 Code (Nightly) desktop app, connected to a remote Linux environment.
Workaround#
Link to an https page that redirects to the tel: URL, or copy the number by hand.