Codex App shows raw ** for assistant-generated bold text at CJK punctuation boundaries
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- markdown
- Domain
- localization
Research direction
No file or test is named. Reproduce the exact CJK Markdown example after streaming, then trace the output-generation and final-rendering layers mentioned in the report. Done means the assistant-generated bold text renders correctly in the Codex App without exposing raw ** delimiters.
Written by the indexing model from the issue text.
Description
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:
**加粗内容。**后续中文内容 -
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.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·