Weird special characters in web search and code citations in outputted response

Resolved 💬 2 comments Opened Nov 16, 2025 by lionelchg Closed Nov 17, 2025

What version of Codex is running?

codex-cli 0.58.0

What subscription do you have?

ChatGPT Plus

Which model were you using?

gpt-5.1-codex

What platform is your computer?

Darwin 24.3.0 arm64 arm

What issue are you seeing?

When I am enabling web search or when codex is yielding code snippet citations by giving the line numbers I see spurious special characters (chevron, bottle and cloud like symbols) since the GPT-5.1-Codex update: those links are not clickable for code snippets and look weird

Here are screenshots of what I am seeing in my terminal

  • when codex outputs some code references

<img width="1210" height="175" alt="Image" src="https://github.com/user-attachments/assets/f4b9a54a-fed2-41ce-969c-5721e2401480" />

  • when using web search

<img width="1121" height="240" alt="Image" src="https://github.com/user-attachments/assets/baa8f5c4-e690-4bb7-b270-7f63341523f4" />

When copy pasting directly inside a text editor it displays as: citeturn1search0 but inside VSCode it displays as in the terminal when looking at the session logs:

<img width="733" height="346" alt="Image" src="https://github.com/user-attachments/assets/62ef512c-b14e-4e8b-8e64-80e7bfebd859" />

What steps can reproduce the bug?

It does not happen all the time but 3-4 times under the past 2 days and only since gpt-5.1-codex. You can either:

  • Perform a web search
  • Ask codex to explain a codebase for example the codex-rs directory

and look at what is outputted in the terminal.

What is the expected behavior?

No special characters and clickable code links

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗