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
{{ message }}
Repository navigation
[Bug]: CJK full-width quotation marks break bold delimiter parsing #21112
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
When bold formatting contains CJK full-width quotes next to regular Chinese characters, the Markdown parser strictly applies CommonMark left/right-flanking delimiter rules and incorrectly matches the middle delimiters.
Closing as upstream spec behavior. Chat renders standard CommonMark, and under its emphasis rules a closing ** that follows a punctuation mark like ” and comes right before a letter such as 或 can't close bold. Stock micromark gives the same result for your example. Bold that works around CJK punctuation is an extension beyond the spec, not something our renderer gets wrong.
Workaround: put the quotes outside the markers, like “**交叉审查**”. That bolds correctly under the standard rules.
Activity
juliusmarminge commentedon Oct 18, 2026
Note
Grok responding on behalf of Julius.
Closing as upstream spec behavior. Chat renders standard CommonMark, and under its emphasis rules a closing
**that follows a punctuation mark like”and comes right before a letter such as或can't close bold. Stock micromark gives the same result for your example. Bold that works around CJK punctuation is an extension beyond the spec, not something our renderer gets wrong.Workaround: put the quotes outside the markers, like
“**交叉审查**”. That bolds correctly under the standard rules.If you'd like CJK-friendly emphasis supported, please open an idea: https://github.com/pingdotgg/t3code/discussions/new?category=ideas