Skip to content

Fix React markdown rendering issue with colons before lists#5338

Closed
handotdev wants to merge 1 commit intomainfrom
cursor/fix-mcp-duplicate-bullets-e398
Closed

Fix React markdown rendering issue with colons before lists#5338
handotdev wants to merge 1 commit intomainfrom
cursor/fix-mcp-duplicate-bullets-e398

Conversation

@handotdev
Copy link
Copy Markdown
Member

Fixes the duplicate bullet point rendering issue in the MCP documentation page.

Changes

  • Replaced colons with periods before bullet lists in three locations
  • This prevents React markdown from rendering list items twice

Issue

When a paragraph ends with a colon immediately before a list, some React markdown renderers can cause duplicate rendering of the list items. This was causing the visual duplication reported in the #nits Slack channel.

Locations Fixed

  1. "MCP tools" section - main tools list
  2. "Enable authenticated MCP" section - MCP endpoints list
  3. "Using multiple MCP servers" section - best practices list

Testing

The fix follows standard markdown best practices by using periods instead of colons before lists, which resolves the rendering issue without changing the content meaning.

Slack Thread

Open in Web Open in Cursor 

Replace colons with periods before bullet lists to prevent duplicate
rendering in React markdown. This fixes the visual duplication issue
where list items were appearing twice in the rendered output.

Co-authored-by: Han Wang <handotdev@users.noreply.github.com>
@mintlify
Copy link
Copy Markdown
Contributor

mintlify bot commented Apr 13, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 13, 2026, 10:44 PM

@mintlify-development
Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
userauth 🟡 Building Apr 13, 2026, 10:42 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants