Codex App shows raw ** for assistant-generated bold text at CJK punctuation boundaries
What version of the Codex App are you using?
26.730.61639 (6234)
What platform is your computer?
macOS 26.5.1 (Build 25F80), Apple Silicon / arm64
What issue are you seeing?
Codex sometimes generates bold Markdown that is invalid at CJK punctuation
boundaries, causing the final response to display the literal ** delimiters.
Observed assistant output:
**别再点 Install,忽略它,等苹果补包。**不是你的操作问题,也没必要现在折腾 Clash 或重装系统。
After streaming finishes, the Codex App displays the ** characters literally
instead of rendering the intended text in bold.
This behavior is explainable under CommonMark: the closing ** is preceded by
Unicode punctuation (。) and immediately followed by a CJK character (不),
so it is not considered a valid right-flanking closing delimiter.
The parser may therefore be standards-compliant, but this remains a user-facing
Codex issue because the assistant generates the Markdown and the Codex App
renders it in the same surface.
What steps can reproduce the bug?
- Ask Codex to answer in Chinese with an emphasized sentence followed
immediately by additional Chinese text.
- Have the assistant produce this exact Markdown:
``markdown``
**加粗内容。**后续中文内容
- Wait until streaming has completed.
- Observe that the raw
**delimiters remain visible.
What is the expected behavior?
Codex-generated responses should use boundary-safe Markdown and should not expose
formatting delimiters to the user.
For example, Codex could generate either:
**加粗内容**。后续中文内容
or:
**加粗内容。** 后续中文内容
Possible fixes could be applied at the output-generation or final-rendering
layer. The important user-facing requirement is that assistant-generated
Markdown renders correctly for CJK prose.
Additional information
- This is not just a transient streaming state; the raw delimiters remain after
the response is complete.
- Other bold spans such as
**Not Now**,render correctly because their
delimiter boundaries are valid.
- I searched existing
openai/codexissues using CJK, Chinese, Markdown,
emphasis, bold, and asterisk-related queries and did not find a matching
report.