[Bug] Single tildes in agent replies cause accidental strikethrough#29254
What happened
In the latest T3 Code Windows desktop app, Claude Code replies sometimes show large sections of text with strikethrough when they contain ordinary ranges written with ~.
For example, this should display as normal text:
| 1 | 1~3月的数据不完整,建议使用4~9月的数据进行对比。 |
Instead, the two single tildes are treated as Markdown delimiters. Everything between them gets crossed out, and the tildes disappear. This is especially noticeable in Chinese replies, where 1~3月, 4~9月, etc. are common.
How to reproduce
- Open a Claude Code thread in T3 Code.
- Ask the agent to respond with the example sentence above.
- Check the rendered reply.
Expected behavior
Single ~ characters in numeric ranges should remain visible. ~~text~~ should still work as Markdown strikethrough.
Possible fix
The chat renderer uses remark-gfm, which enables singleTilde by default. Setting singleTilde: false in the chat Markdown configuration should fix this without affecting double-tilde strikethrough.
Related: #16105 covers the same parsing behavior in sent prompts. #9021 proposed a fix but was closed without merging.
Environment
- T3 Code: latest release
- Windows desktop
- Claude Code provider