GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [Bug]: Arabic/Hebrew lines in md/text code fences are forced left-to-right (and coding-font ligatures overprint them) · Issue #42017 · pingdotgg/t3code Backlog DescriptionBefore submitting
AreaChat / Markdown rendering (fenced code blocks) Steps to reproduce
Expected behaviorA prose fence is written text, not source code. Each line should get its own direction, so Arabic lines read right to left and right-aligned, and English lines in the same block stay left to right. Real code fences ( Actual behavior
A second issue shows up once such a line is RTL: coding fonts with contextual alternates (Fira Code, Cascadia Code…) draw Upstream has already fixed this for paragraphs, lists, quotes and inline code ( Suggested fixI've been running this as a local CSS patch on the desktop app and it works. Code fences are untouched. /* Prose fences: each newline-separated line is its own bidi paragraph. */ .chat-markdown-codeblock:is( [data-language="md" i], [data-language="markdown" i], [data-language="mdx" i], [data-language="text" i], [data-language="txt" i], [data-language="plaintext" i], [data-language="plain" i] ) pre { unicode-bidi: plaintext; text-align: start; } /* Coding-font ligatures are drawn assuming LTR and overprint RTL letters. */ .chat-markdown-codeblock:is(/* same list */) pre :is(code, span) { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
ImpactMinor bug or occasional failure Version or commit0.1.12-nightly.20261122.5085 (desktop); still present on EnvironmentWindows 11 Pro, desktop app (Electron) Logs or stack tracesNo response Screenshots, recordings, or supporting filesNo response WorkaroundA local CSS injection into the renderer's ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |