codex icon indicating copy to clipboard operation
codex copied to clipboard

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

Open Popcornnnnnnnn opened this issue 3 months ago • 15 comments

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.

  2. Have the assistant produce this exact Markdown:

    **加粗内容。**后续中文内容
    
  3. Wait until streaming has completed.

  4. 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.

Popcornnnnnnnn avatar Aug 08 '26 04:08 Popcornnnnnnnn

Adding a Windows report of the same issue, observed across multiple Chinese conversations on 2026-09-09.

Environment at reporting time:

  • Codex desktop Windows package: OpenAI.Codex, version 26.901.6511.0 (verified from the installed package manifest).
  • Windows x64, OS build 10.0.26200.0.

Screenshots from two conversations show assistant-generated prose with literal ** and missing intended bold formatting, both in paragraphs and bullet points. This is affecting ordinary Chinese responses across conversations.

Sanitized minimal examples of the reported pattern, to be rendered as assistant prose rather than as code:

**需要强调的句子。**后续文字

- **需要强调的句子。**后续文字

Boundary-safe alternatives:

**需要强调的句子**。后续文字

**需要强调的句子。** 后续文字

As the original report explains, this is consistent with CommonMark's delimiter rules and does not by itself establish a parser defect. It is not a general requirement to add spaces after Chinese punctuation: the problematic closing delimiter has punctuation immediately before it and ordinary text immediately after it. The analogous ASCII input **A sentence.**Next sentence has the same CommonMark boundary problem. Chinese prose encounters it more naturally because sentences commonly have no intervening spaces.

Please consider a product-wide improvement to generated Markdown, or a carefully scoped rendering treatment, so users do not have to add formatting instructions separately in every conversation. Keeping sentence punctuation outside the bold span preserves natural Chinese spacing. Any normalization should preserve intentional literal Markdown, escaped delimiters, code examples, and content requested verbatim.

The examples above are sanitized illustrations; the additional boundary explanation follows the specification, rather than claiming separate desktop tests of every variant.

hknhns avatar Sep 09 '26 04:09 hknhns

Reporting a similar symptom on Windows, observed on September 16, 2026.

  • Installed Windows package: OpenAI.Codex, version 26.908.9136.0 (from Get-AppxPackage, not the About dialog).
  • OS: Windows, build 10.0.26200.0, x64.
  • In assistant responses, Markdown bold sometimes renders correctly and sometimes appears as literal ** delimiters instead of bold text.

The affected span copied from a response is:

**1 和 2 的实现工作量基本相同。**

The screenshot shows visible asterisks around the intended emphasis. The copied span above is valid in isolation; the complete surrounding paragraph and exact characters immediately after the closing delimiter have not been captured, so this report does not yet confirm whether the same CJK boundary condition is responsible.

This is intermittent from the user's perspective; a deterministic reproduction and whether reopening the conversation changes the rendering have not been established. No streaming or caching cause has been confirmed.

Expected: assistant-generated emphasis should consistently appear as formatted text without exposing the Markdown delimiters. Adding this Windows observation here because the visible symptom closely matches this issue.

Tsubaki-01 avatar Sep 16 '26 14:09 Tsubaki-01

Additional Windows evidence from the installed September build:

  • Microsoft Store package: OpenAI.Codex, version 26.917.6896.0, x64.
  • Bundled desktop package.json: version 26.917.51856, build 10492 (these values were read from the installed package, not the About dialog).
  • The user observes literal ** in Chinese assistant output and also reports formatting problems in plan Markdown.

I extracted the Marked parser from this installed build and ran isolated tokenization checks. These sanitized inputs reproduce the boundary behavior:

**中文句子。**后续文字

Result: no strong token. Moving the punctuation outside the emphasis produces one strong token:

**中文句子**。后续文字

A separate invalid-output case is whitespace immediately before the closing delimiter:

**检查结果:通过。 **继续

This is consistent with Markdown delimiter rules, so it does not establish a standards violation in the parser. The product issue is that assistant-generated formatting can remain visibly unrendered in the same app that generated it. Boundary-safe generation would avoid the problem without changing intended literal Markdown or code examples.

Evidence limits: the user's screenshot confirms the visible symptom, but its complete source Markdown was not captured. The inputs above are minimal diagnostic examples, not claimed to be the screenshot's verbatim source. The token checks are isolated tests against packaged parser code, not an end-to-end UI test or a claim that every plan/editor surface uses that parser. No app binaries were changed.

The user also reported equations not displaying; separate delimiter evidence is being added to #23402.

RainyMarks avatar Sep 23 '26 05:09 RainyMarks

I can reproduce this in the Codex CLI TUI as well (codex-cli 0.156.1, macOS 27.0, arm64). In a completed Chinese assistant response, the intended bold text shows literal ** delimiters. The delimiters remain visible after streaming finishes.

DCjanus avatar Sep 23 '26 19:09 DCjanus

Additional Windows evidence, checked on 2026-10-03.

  • Installed Windows MSIX: 26.930.3930.0; bundled frontend package: 26.930.31730.
  • OS: Windows x64, build 26200.9457 (25H2).
  • A user reports the same message displays the intended bold on mobile while the desktop ChatGPT conversation view exposes the delimiters. This is a user-reported cross-client difference: the mobile OS/app version and byte-identical raw message have not been independently captured.

Minimal, sanitized, screenshot-informed examples tested with the installed desktop parser:

Input Result
**A. 先不做。 **本轮… No strong token; delimiters remain literal
**A. 先不做。**本轮… No strong token; removing the inner space alone does not resolve the CJK punctuation boundary
**A. 先不做。** 本轮… strong token and bold output
**A. 先不做**。本轮… strong token and bold output

These isolate two conditions: whitespace immediately inside the intended closing delimiter, and punctuation immediately before that delimiter with CJK text immediately after it. They need separate treatment.

Verification: 24 A/B/C variants were evaluated through (1) the bundled Marked core, (2) the bundled mdast/micromark parser, and (3) the actual application preprocessing/tokenization entry point used by the Markdown view. All 72 expected tokenization assertions passed in an isolated browser using read-only copies of the installed assets. The failing cases lose bold at the tokenization stage, before bold styling. Valid control cases render bold in the fixture.

Limits: this is not an end-to-end test of the live message DOM. The original historical raw message was unavailable; the minimal cases are reconstructed from the screenshot and omit unrelated conversation content. The screenshot's first opening asterisk may be clipped. No installed files, history, global instructions, or security settings were modified.

Although the observed delimiter handling can follow CommonMark rules, that does not resolve the reported desktop/mobile inconsistency or the product experience for assistant-generated prose. A source-level compatibility fix is technically possible: Marked documents emStrong tokenizer overrides, and the third-party marked-cjk-friendly project specifically addresses CJK punctuation boundaries. This extension has not been integrated or validated against Codex, and it should not be assumed to address the separate inner-whitespace case.

Could maintainers confirm whether a supported desktop update or setting addresses this, and investigate consistent handling across mobile and desktop while preserving intentionally literal Markdown, escapes, and code? No supported user-configurable desktop parser override was found in the settings/configuration inspected.

jackwhosuck-sudo avatar Oct 03 '26 13:10 jackwhosuck-sudo

Additional macOS report: this remains reproducible in newly generated assistant replies on October 15–16, 2026.

Environment verified from the installed app bundle:

  • Desktop app version: 26.1007.30912.
  • Build: 20156.
  • Platform: macOS.

The user supplied screenshots from separate Chinese conversations showing literal ** delimiters after the responses had completed. For one affected reply, the saved source text was also checked: the closing delimiter immediately followed Chinese punctuation and immediately preceded the next Chinese text. The latest screenshot shows the same visible pattern in a newly generated reply, so this is not only an old message retaining its original formatting.

Minimal sanitized examples (generic prose, not private conversation content):

**视觉基准:**沿用现有风格。
**请确认按上述方案执行。**这次确认依据已有规则。

Boundary-safe forms:

**视觉基准**:沿用现有风格。
**请确认按上述方案执行**。这次确认依据已有规则。

An isolated local test with Marked 17.0.5 reproduced the literal delimiters for the unsafe examples and produced strong emphasis for the corrected examples. Related controls covered whitespace inside the closing delimiter, closing quotes/parentheses, standalone bold paragraphs, and intentionally literal Markdown in inline code. These were tests against a bundled workspace dependency, not an end-to-end execution of the desktop app's rendering path.

Changing output style in a single conversation did not prevent recurrence in other conversations. A global instruction is now being used as a temporary mitigation; this should not be treated as a product fix or a guarantee against recurrence.

Please address boundary-safe generated Markdown and/or a carefully scoped rendering treatment for assistant prose, preserving code, escapes, intentional literal Markdown, and verbatim content. The delimiter behavior can be CommonMark-compliant while the assistant-generated result is still broken for the user.

This report includes no business screenshots, session transcripts, account details, or raw logs.

pandesheji-ctrl avatar Oct 16 '26 02:10 pandesheji-ctrl

Additional macOS report and isolated parser evidence, checked on 2026-10-17.

The user reports visible Markdown delimiters in ordinary Chinese assistant replies. This disrupts basic readability; maintaining formatting instructions in AGENTS.md or modifying and re-signing the desktop client is not an acceptable product-level resolution.

Environment verified locally:

  • Installed desktop app: 26.1013.31256, build 20586 (from the app bundle).
  • macOS 27.0.1 (26A434), arm64.
  • Also examined the packaged parser from official macOS release 26.1013.40934, build 20770. The downloaded archive's Sparkle Ed25519 signature was verified before extraction; that release was not installed or launched.

Minimal reproduction based on the affected sentence, with surrounding project context omitted:

**不需要现在决定。**模型可以在运行时指定。

The isolated Marked parser extracted from each of the two releases returns:

<p>**不需要现在决定。**模型可以在运行时指定。</p>

Moving the punctuation outside the emphasis renders correctly:

**不需要现在决定**。模型可以在运行时指定。

This is consistent with CommonMark delimiter rules, but the user-facing issue remains: the assistant produces formatting that its own client can display literally.

A limited compatibility experiment used the emStrong tokenizer from marked-cjk-friendly, with guards to preserve native handling inside raw HTML code regions and for whitespace inside emphasis delimiters. Six CJK cases rendered as intended and nineteen control cases retained their original output on each parser: 25 cases × 2 parser versions = 50 passing assertions. Controls included fenced/inline/indented code, escaped asterisks, ordinary links and tables, raw HTML code, and incomplete delimiters. This is evidence for a possible implementation direction, not a recommendation to install an unofficial client patch.

Evidence boundaries:

  • These are isolated tests of packaged parser code, not end-to-end tests of the live desktop message DOM or its complete preprocessing pipeline.
  • The newer release's full UI was not tested, so this does not establish its end-to-end behavior.
  • No installed application files, conversation history, global instructions, or security settings were modified. No modified application copy was launched.
  • Other reported symptoms such as visible escape characters or link source have not been shown to share this cause.

Please provide a supported product fix for assistant-generated CJK formatting while preserving intentional literal Markdown, code, escapes, and verbatim content. Users should be able to read normal replies without maintaining prompt rules or a custom application build.

FuHuakang avatar Oct 17 '26 03:10 FuHuakang

Additional Windows report, observed on 2026-10-18.

Environment verified from the installed Windows package:

  • Package: OpenAI.Codex
  • Package version: 26.1013.4894.0
  • Platform: Windows

The user supplied two screenshots of completed Chinese assistant replies. Three intended bold spans show literal double-asterisk delimiters. Other emphasis in the same replies renders correctly.

The corresponding assistant text in the current conversation uses a closing delimiter immediately after a Chinese full stop and immediately before subsequent Chinese prose. A sanitized illustration is:

**这段需要强调。**接着解释。

Moving the full stop outside the emphasized span avoids that boundary pattern:

**这段需要强调**。接着解释。

This observation is consistent with the CJK punctuation-boundary condition described in this issue. The screenshots establish the visible symptom, and the conversation source establishes the delimiter placement; I have not tested the packaged parser or the live rendering pipeline, so this does not independently establish a parser defect.

The immediate mitigation is simpler formatting and boundary-safe emphasis. Please address assistant-generated Markdown compatibility at the product level so normal Chinese replies do not expose formatting markers.

No screenshots, private conversation text, session logs, local paths, or personal details are attached. The examples above are synthetic.

qinxian-wu avatar Oct 18 '26 08:10 qinxian-wu

Codex Chinese replies repeatedly expose raw Markdown double asterisks instead of rendering intended bold text

Core problem

In ordinary Chinese replies, Codex intends to express bold emphasis using Markdown, but the generated formatting is not recognized as bold by the client. The raw double asterisks are displayed to the user instead.

This is not a request to display Markdown source, a code example, or a syntax tutorial. The double asterisks appear in everyday paragraphs and lists, remain visible after the response has finished, and the intended emphasis is not rendered in bold.

The problem recurs and disrupts reading and normal conversation. The user accepts and wants to retain useful bold emphasis. The issue to fix is the unintended exposure of formatting markers. Reducing or removing bold must not be treated as the acceptance criterion for a fix.

This comment supplements #37531 with synthetic reproductions, recent audit findings, and requested acceptance criteria.

Environment checked

  • Codex Desktop: 26.1013.40934
  • Build: 20770
  • Platform: macOS 26.6.2, Apple Silicon / arm64
  • Affected conversations involved GPT-6.1 Sol and GPT-6 Astra.

These are the environments covered by this investigation, not a claim that the issue is limited to these models or versions.

Language scope and evidence limits

The language directly confirmed in this investigation is Chinese. The conversation and affected-response counts below come entirely from Chinese samples and must not be generalized to other languages.

Similar public reports exist for other languages. For example, the CommonMark upstream tracker and Streamdown tracker contain Japanese cases where intended emphasis is not recognized and the markers remain literal. This shows that the general symptom is not unique to Chinese, but those external reports do not directly establish the behavior or frequency of the problem in other languages within Codex. References: CommonMark Japanese report, Streamdown related report.

Related technical material also provides Korean examples, and an English string can be constructed that triggers the same delimiter-boundary condition. These are technical references, not independently verified reports from Korean- or English-language Codex users. This report does not claim that all languages are equally affected, or that similar symptoms in other languages necessarily share the same cause. References: CJK technical examples, English boundary example.

Synthetic reproduction

The following examples contain no private conversation content. Render them as ordinary response prose and wait until output has finished:

**检查已经完成。**接下来说明结果。

- **处理结果:**检查已经完成。

Actual result: the interface displays raw double asterisks, and the intended bold emphasis is not rendered.

Keep the wording and intended emphasis, changing only the formatting:

**检查已经完成**。接下来说明结果。

- **处理结果**:检查已经完成。

The corrected forms express the intended bold emphasis without reducing the content being emphasized.

Another form that satisfies the parsing conditions is:

**检查已经完成。** 接下来说明结果。

One identified technical cause

In the failing examples above, the closing emphasis delimiter is immediately preceded by Chinese punctuation and immediately followed by Chinese prose. Under the current parsing rules, that combination does not form the intended bold emphasis, so the markers remain ordinary text.

This shows a mismatch between the generated Markdown and the client's parsing requirements. The parsing behavior can comply with CommonMark, but from the user's perspective, Codex-generated formatting still fails to display correctly in Codex's own interface and needs to be fixed.

This is not a request to prohibit punctuation inside bold spans generally, and it does not establish that every instance of exposed markers has the same cause.

Additional evidence that the problem persists

A read-only audit of recent conversations distinguished between guidance existing in a rules file, guidance being present in the model's actual context, and the output actually following that guidance.

The audit covered a fixed window from October 18, 2026 at 00:00 to October 20, 2026 at 16:19, in Los Angeles local time:

  • 27 recently updated user conversations were inspected, excluding this investigation and sub-agent conversations.
  • 12 of those conversations had actual new replies during the window.
  • In 5 conversations, at least 21 replies exhibited the same type of failure after the bold-formatting guidance in effect at the time was already present in the model's actual context.
  • Those 5 conversations included 4 existing conversations and 1 entirely new conversation.

In one existing conversation, the agent reread the rules file during the same turn before producing another affected reply. An entirely new conversation contained both general syntax guidance and specific Chinese punctuation-boundary guidance in its initial context, yet its first final response still exhibited the same problem.

The guidance required correct handling of opening and closing emphasis markers and adjacent characters. It explicitly preserved necessary bold emphasis and stated that reducing bold was not a substitute for correcting the syntax.

Here, "loaded" means that the guidance text was verifiably present in the actual context. It does not prove that the model correctly followed it. These findings establish that the problem persists and cannot be considered resolved merely by asking the user to have the agent reread formatting guidance.

These counts are not an overall error rate and are insufficient to determine whether the guidance reduced the frequency of the problem.

Parser checks and limits of the conclusions

Isolated local parser checks reproduced the behavior: the failing examples did not produce the intended strong nodes; after adjusting the placement of the markers and punctuation, the intended nodes were produced while preserving the wording and intended emphasis.

These checks are not a full end-to-end test of the client. There is also insufficient evidence to determine why the model internally keeps producing this form, or to conclude that this is unique to any one model.

Requested fix and acceptance criteria

Please fix the issue where Codex generates intended bold formatting but exposes raw double asterisks in the client. Please prioritize generation-side output that satisfies the client's parsing requirements, and verify the final displayed result.

A fix should:

  1. Preserve useful bold emphasis and render the intended content in bold.
  2. Prevent recurring, unintended exposure of raw bold markers in ordinary Chinese paragraphs and lists.
  3. Cover Chinese full stops, colons, quotation marks, parentheses, and emphasized spans immediately followed by prose.
  4. Be verified in both existing and entirely new conversations.
  5. Preserve code, escapes, syntax examples, and text that the user explicitly requests verbatim.
  6. Not use reducing or removing bold as the criterion for a successful fix.
  7. Not require users to keep adding prompt rules, inspect replies individually, or maintain unofficial client patches.

Please identify the model or client version containing the official fix, the languages actually validated, and any action users need to take.

Privacy

This report contains only synthetic examples, environment information, and anonymous aggregate findings. It includes no private conversation text, screenshots, conversation names or IDs, project names, local paths, account information, or raw logs.

kylinddddd-cloud avatar Oct 21 '26 06:10 kylinddddd-cloud

👍 Same issue here: bold formatting sometimes appears as literal ** in replies.

Environment: Codex mode in ChatGPT desktop 26.1016.51333 (build 21161), macOS 15.7.7 (24G720), Apple Silicon (arm64).

xc1427 avatar Oct 21 '26 12:10 xc1427

Additional macOS observation on 2026-10-23, plus isolated parser controls.

The user supplied a screenshot of a completed assistant response in which the intended bold span remains surrounded by literal **. The selected source text has the same punctuation/next-character boundary as the original issue. A sanitized reproduction is:

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

The installed app bundle was read without modifying or launching it:

  • Bundle identifier: com.openai.codex
  • App version: 26.1016.61520
  • Build: 21421
  • Platform reading: Darwin 23.6.0, arm64

An isolated test against the existing workspace Marked 17.0.5 dependency confirmed the following distinctions:

Input Expected/observed strong nodes
**加粗内容。**后续中文内容 0
**加粗内容**。后续中文内容 1
**加粗内容。** 后续中文内容 1
**加粗内容。** followed by a blank line and the next paragraph 1
**加粗内容。 **后续中文内容 0
**Sentence.**Next sentence 0
**Sentence**.Next sentence 1

The complete local set also included closing quotes, escaped delimiters, inline/fenced code and valid emphasis containing inline code. All 12 assertions matched expectations. This is consistent with delimiter-boundary behavior and does not establish a standards violation in the parser.

Evidence limits: the parser test used a workspace dependency, not extracted desktop assets or the live app's rendering path. The screenshot confirms the user-facing symptom, but there was no new end-to-end desktop reproduction in this investigation. The installed version above is not claimed to identify the version at the time any earlier historical message was originally generated.

Please address this at the product generation/display layer so users do not have to maintain per-chat or global formatting workarounds. Any compatibility treatment should preserve intentional literal Markdown, escaped text, code blocks and verbatim content. No private project transcripts, credentials or screenshots are included here.

jy-ppp avatar Oct 23 '26 07:10 jy-ppp

Additional Windows 11 observation — 2026-10-26

I am seeing the same user-facing problem in a Codex conversation in the Windows desktop app (now presented as part of the ChatGPT app): intended bold text is displayed with literal ** delimiters.

Environment

  • Windows 11, 64-bit.
  • Local OS/runtime reading: Microsoft Windows NT 10.0.26300.0, x64.
  • App version: latest available installation according to the reporter; the exact About-dialog app version/build has not been captured. This is not an independently verified claim that the installation is on the newest release.
  • Surface: ordinary Chinese assistant prose in the conversation, not the message composer or a Markdown source editor.

Observed in the supplied screenshot

  • The opening and closing ** characters remain visible around the intended emphasis.
  • Inline code in the same paragraph is styled normally, so the entire message is not simply being shown as a plain-text/code block.
  • The intended closing delimiter is followed immediately by Chinese prose. There also appears to be a space before it; exact source whitespace has not been extracted from the message.

Minimal, screenshot-informed diagnostic example

The following uses unrelated synthetic wording to preserve the visible structure. It is not a byte-for-byte extraction of the original response or a separately verified end-to-end reproduction:

还核实了一点: **检查 `x` 后,下一周期恢复正常。 **因此,继续说明。

Useful comparison inputs for a regression test:

还核实了一点: **检查 `x` 后,下一周期恢复正常。**因此,继续说明。

还核实了一点: **检查 `x` 后,下一周期恢复正常**。因此,继续说明。

还核实了一点: **检查 `x` 后,下一周期恢复正常。** 因此,继续说明。

These comparisons are intended to separate whitespace inside the closing delimiter from punctuation/CJK delimiter-boundary handling. The screenshot establishes the visible symptom, not a confirmed parser implementation defect, and no renderer code was modified or tested for this report.

Expected

Codex-generated ordinary Chinese responses should display the intended emphasis in the same app, without exposing unintended formatting delimiters. Please address the generation/display mismatch while preserving inline code, escaped/literal Markdown, and text requested verbatim. Removing useful emphasis or requiring users to add formatting instructions to every conversation should not be the fix.

Adding this current Windows observation to the existing issue rather than filing a duplicate. The screenshot was reviewed for this report, but is not attached to this comment; the text above omits unrelated project and account details.

dotteryisabell avatar Oct 26 '26 12:10 dotteryisabell

Additional user report received on 2026-11-03, based on a screenshot of a Chinese-language assistant reply in the macOS desktop app (ChatGPT Work interface).

Observed behavior:

  • Strong-emphasis delimiters (**) are visibly printed around a passage of ordinary Chinese prose instead of displaying the intended emphasis.
  • The user also marked an inline-code span containing permission=true: its backtick delimiters appear as ordinary text and it lacks the code styling seen elsewhere in the same reply.
  • Other bold text and inline-code spans, including those in a table, render normally in that same reply.
  • The user reports this happens occasionally during chat; a reliable reproduction sequence and occurrence rate are not known.

Expected behavior: assistant-generated inline code and emphasis should display consistently in the app, without exposing formatting delimiters unintentionally.

This is a screenshot-based observation, not an independently reproduced parser defect. The raw assistant Markdown was not captured, so malformed or escaped generated Markdown cannot be distinguished from a rendering problem. The exact app build and macOS version are unavailable, and persistence across refresh/restart has not been tested.

The original screenshot contains unrelated project and conversation information and is not included in this public comment.

Adding this here because the visible bold-delimiter symptom is related to this issue. The inline-code symptom may need separate triage; a shared root cause is not established.

liuqi6908 avatar Nov 03 '26 07:11 liuqi6908

Additional Windows report — 2026-11-03

The same issue is still occurring in completed Chinese assistant replies on Windows. A supplied screenshot shows literal ** around intended emphasis in paragraphs and bullet points, while tables and inline code in the same reply render normally.

The reporter also encounters formatting problems in the right-hand local Markdown preview. The same unsafe delimiter pattern was found in an assistant-authored .md document during this investigation.

Environment

  • Windows 11 Pro, x64, OS version 10.0.26200.
  • Installed Microsoft Store package: OpenAI.Codex, version 26.1027.3384.0 (read using Get-AppxPackage; this is the package version).

Sanitized minimal reproduction

Have an ordinary Chinese assistant paragraph contain an emphasized sentence immediately followed by more prose:

**可以。**下一句话

- **需要强调的内容。**继续说明

The intended closing delimiter is immediately preceded by 。 and followed by a Chinese character. The asterisks remain visible instead of producing the intended bold span.

Both of these boundary-safe forms work in an isolated Marked parser check:

**可以**。下一句话

**可以。** 下一句话

Isolated parser results, separate from the desktop UI:

Input Result
**可以。**下一句话 Literal delimiters; no <strong> element
**可以**。下一句话 One <strong> element
**可以。** 下一句话 One <strong> element

This delimiter behavior is consistent with CommonMark's emphasis rules. The product problem is that Codex generates text that does not render as intended in its own conversation/document surfaces.

Expected

Ordinary assistant-authored Chinese prose should use boundary-safe Markdown so intended emphasis renders without exposing formatting markers, in both chat and local Markdown previews. Any generation or rendering fix should preserve intentional literal Markdown, code examples, and verbatim content.

AshYang-right avatar Nov 03 '26 07:11 AshYang-right

Still reproducible with GPT-6.2 Astra at Ultra reasoning effort

On November 21, 2026, a completed Chinese reply in the Codex desktop app displayed literal ** around text that was intended to be bold. The affected turn was confirmed to use GPT-6.2 Astra with Ultra reasoning effort.

The saved reply placed Chinese quotation marks inside the bold markers, with Chinese text immediately outside them. The following synthetic example reproduces the delimiter pattern:

建议是**“先核对结果”**再继续。

Moving the markers inside the quotation marks preserves the wording and allows the intended phrase to render in bold under CommonMark’s emphasis rules:

建议是“**先核对结果**”再继续。

Before the affected reply was generated, the chat context already contained guidance on Markdown bold syntax and Chinese punctuation boundaries. This confirms that the issue still occurs in this configuration. How often it occurs compared with earlier models remains unknown.

Please fix the handling of assistant-generated bold in ordinary Chinese replies. The regression check should verify both outcomes in the completed desktop reply: the intended words are visibly bold, and the formatting markers are hidden. Useful bold emphasis should be preserved, along with intentional literal asterisks in code and verbatim text.

kylinddddd-cloud avatar Nov 21 '26 09:11 kylinddddd-cloud