Codex App shows raw ** for assistant-generated bold text at CJK punctuation boundaries

Open 💬 0 comments Opened Aug 8, 2026 by Popcornnnnnnnn

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?

  1. Ask Codex to answer in Chinese with an emphasized sentence followed

immediately by additional Chinese text.

  1. Have the assistant produce this exact Markdown:

``markdown
**加粗内容。**后续中文内容
``

  1. Wait until streaming has completed.
  2. 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/codex issues using CJK, Chinese, Markdown,

emphasis, bold, and asterisk-related queries and did not find a matching
report.

View original on GitHub ↗