Codex unexpectedly quits working

Resolved 💬 3 comments Opened Nov 5, 2025 by KustomKode Closed Nov 5, 2025

What version of Codex is running?

v0.55.0

What subscription do you have?

Pro

Which model were you using?

gpt-5-codex high

What platform is your computer?

Darwin 21.6.0 x86_64 i386

What issue are you seeing?

Here was my prompt:

on templates/ReportSections/edit.php when I save "content" in tinymce editor,
it is modifying it.

If I code it like this:

  <div class="accordion clearfix">
      <div class="accordion-title-wrap">
          <a class="accordion-title" href="#">
              <span class="opened"><i class="fas fa-chevron-up"></i></span>
              <span class="closed"><i class="fas fa-chevron-down"></i></span>
              <h3>Collagens: Products - All</h3>
          </a>
      </div>
      <div class="panel clearfix">
      </div>
  </div>

And save, it is then modified to this:

  <div class="accordion clearfix">
  <div class="accordion-title-wrap"><a class="accordion-title" href="#"><span
  class="opened"></span> <span class="closed"></span> </a>
  <h3><a class="accordion-title" href="#">Collagens: Products - All</a></h3>
  <a class="accordion-title" href="#"> </a></div>
  <div class="panel clearfix">&nbsp;</div>
  </div>

I need to modify the tinymce initialize function so that ANY, and I mean ANY
html can be entered without it modifying it.

Here is Codex Behavior:

It starts thinking, and outputs something like the following:

"I'm trying to figure out why setting HTMLPurifier to allow all HTML except scripts and styles ends up stripping everything. It seems like some config options or cache issues might be causing the purifier to remove all content unexpectedly. I'll check the actual config in AppTable and run CLI tests to understand what’s going wrong."

And immediately as soon as it outputs what it is thinking, it just stops working, without any further output.

What steps can reproduce the bug?

Uploaded thread: 019a5575-e185-79d3-9042-2b3b14dd5195

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

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