You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Triage summary: This is a reproducible rendering defect — inline code spans visually break across the mid-word boundary instead of wrapping as a whole unit, per the attached screenshot. I'm suggesting bug and priority-3 (cosmetic, no workflow blocker, workaround is trivial — just visually noisy). No duplicate issues found; #18104 and #18291 concern commit-message input formatting support, not rendered markdown display wrapping, so they're different.
Initial hypothesis: GitHub Desktop renders markdown (e.g. issue/PR bodies, release notes) inside a sandboxed iframe styled by app/static/common/markdown.css, loaded via sandboxed-markdown.tsx. The outer .markdown-body rule sets word-wrap: break-word (
). When an inline code span is wider than the available line width — common with long unbroken identifiers — the browser's break-word behavior allows the break to occur inside the code span itself rather than only at whitespace, producing the mid-word split seen in the screenshot. No reproduction steps, specific text sample, or app log were provided, so this remains an untested hypothesis pending confirmation of exactly where (issue body preview, release notes, PR description, etc.) and with what content the break occurs.
Activity
desktop-triage commentedon Nov 2, 2026
Triage summary: This is a reproducible rendering defect — inline
codespans visually break across the mid-word boundary instead of wrapping as a whole unit, per the attached screenshot. I'm suggestingbugandpriority-3(cosmetic, no workflow blocker, workaround is trivial — just visually noisy). No duplicate issues found; #18104 and #18291 concern commit-message input formatting support, not rendered markdown display wrapping, so they're different.Initial hypothesis: GitHub Desktop renders markdown (e.g. issue/PR bodies, release notes) inside a sandboxed iframe styled by
app/static/common/markdown.css, loaded viasandboxed-markdown.tsx. The outer.markdown-bodyrule setsword-wrap: break-word(desktop/app/static/common/markdown.css
Lines 26 to 34 in df1816a
code/ttelements (desktop/app/static/common/markdown.css
Lines 410 to 417 in df1816a
word-break/white-spacerule scoped to inlinecode(onlypre/pre codegetword-break: normalatdesktop/app/static/common/markdown.css
Lines 428 to 443 in df1816a
break-wordbehavior allows the break to occur inside the code span itself rather than only at whitespace, producing the mid-word split seen in the screenshot. No reproduction steps, specific text sample, or app log were provided, so this remains an untested hypothesis pending confirmation of exactly where (issue body preview, release notes, PR description, etc.) and with what content the break occurs.DylanDevelops commentedon Nov 10, 2026
This was an easy fix (I think). My change in PR #23152 also fixes this for other dialogs so the issue shouldn't occur in any other places.