Plan mode markdown file cant be previewed

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

1/Plan preview crashed

2/show Review next file always, can’t be skipped

Steps to Reproduce

  1. Create a plan
  2. Paste the paragraph (in the text) into the markdown (plan mode) file

The cursor generates many blank spaces :backhand_index_pointing_down:

**数据校验功能**:实现完整的 OssDataValidator
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        - 校验对象存在性
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - 校验元数据一致性(大小、MD5等)
  1. open plan
  2. Modify the plan; it does not work.

Expected Behavior

Expect to preview the plan

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.43 (Universal)
VSCode Version: 1.99.3
Commit: 8e4da76ad196925accaa169efcae28c45454cce0
Date: 2025-10-30T18:49:27.589Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.2.0

For AI issues: add Request ID with privacy disabled

Additional Information

1. RangeError: Maximum call stack size exceeded

at workbench.desktop.main.js:4671:68572
at Array.filter (<anonymous>)
at workbench.desktop.main.js:4671:68565
at Array.forEach (<anonymous>)
at o4r (workbench.desktop.main.js:4671:68509)

2. workbench.desktop.main.js:444 Error: Internal Lexical error: invariant() is meant to be replaced at compile time. There is no runtime version. Error: Reconciliation: could not find DOM element for node key %s

at hf (workbench.desktop.main.js:442:1258138)
a

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This looks like a rendering issue when Plan mode processes Chinese characters.

The team is already working on Plan mode sync issues, but the specific crash with Chinese text and excessive whitespace is new.

Temporary workaround: use regular markdown files in your workspace instead of Plan mode’s internal system.

To help debug, please share:

  • Does the issue occur if you use English text only?
  • The original Chinese paragraph that triggers the extra blank lines
  • Does the same text render correctly in a regular .md file outside Plan mode?

I’ll pass this to the team for investigation.

It doesn’t work in English using .md files either.
50% of the time, it just says “cannot open file”.

I can, however, open it in the Explorer normally; it’s just the inline viewer that does not work.
.md files does not load - Bug Reports - Cursor - Community Forum

2 Likes

Hi, plz check, its seem like not related to language.

  1. It does not work in English either, if it has excessive whitespace.
  2. the translated English paragraph.

<!-- 874e994d-c83a-4e20-90f0-f30dc20d4b6e 455f13df-b5de-4269-b34b-38dca20ecb78 -->
# OSS Master-Replica Implementation Plan

## 📋 Latest Changes Summary

### Latest Implementation in 2024

1.  **Configuration Optimization**: Implemented unified `nodes` configuration approach
   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - Use a single `nodes` list to manage all nodes
   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - Identify primary/replica through `primary` field (`true`=primary, `false`=replica)
   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - Removed old `primary` and `replicas` top-level field definitions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                2.  **Data Validation Feature**: Implemented complete OssDataValidator
   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - Validate object existence
   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - Validate metadata consistency (size, MD5, etc.)
   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - Validate content integrity (optional, time-consuming)
   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                - Support batch validation

  1. It can be render correctly in Cursor/VSCode’s markdown preview or other markdown tools
1 Like