Mobile app autolinks bare hostnames inside code blocks (renders `github.com` as `<github.com>`)

Resolved 💬 2 comments Opened May 14, 2026 by matt-meridian7 Closed May 18, 2026

App: Claude mobile app (iOS — see screenshots)
Surface: Assistant message rendering, including inside fenced code blocks

Repro

In a conversation, have the assistant emit the following exact text (no angle brackets in the source):

gh auth refresh -u matt-palmetto -h github.com -s admin:org

Expected

The hostname \github.com\ renders verbatim. Copy-to-clipboard yields the same characters that were typed.

Actual

In the mobile app, \github.com\ renders as \<github.com>\ — an autolink wrapped in angle brackets — even inside a fenced code block. Copying the line yields a command with literal \<\ and \>\ characters around the hostname, which zsh/bash then interpret as I/O redirection:

zsh: no such file or directory: github.com

This makes shell commands containing bare hostnames un-copy-pasteable from the mobile app. Workaround was to omit the \-h\ flag entirely.

Notes

  • Same content renders correctly in Claude Code CLI (terminal) and the desktop/web app
  • Affects code blocks, inline code, and prose
  • Likely a markdown autolink rule (CommonMark \<...>\ autolink extension) being applied to bare URLs/hostnames at render time

Severity

Medium — silently breaks copy-pasted commands. The added characters look like part of the text rather than markup.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗