Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Cursor UI bug with plan files. When you use nested code fences (like ``` to wrap markdown that contains ``), Cursor’s plan file post-processor corrupts it and creates empty code block pairs repeatedly.
Steps to Reproduce
Steps to reproduce the Cursor plan file nested code fence bug:
Create or edit a .plan.md file in .cursor/plans/
Include nested code fences - use 4 backticks to wrap content that contains 3 backticks.
Save the file
Result: Cursor’s plan file post-processor corrupts the content, inserting many empty code block pairs like:
The bug appears to be in how Cursor parses/transforms plan file markdown.
Operating System
MacOS
Version Information
Version: 2.4.22 (Universal)
VSCode Version: 1.105.1
Commit: 618c607a249dd7fd2ffc662c6531143833bebd40
Date: 2026-01-26T22:51:47.692Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor