Skip to content

docs(connect): fix regex wildcard breaking bold in Create MCP Server Name field#119

Merged
micheleRP merged 1 commit into
mainfrom
claude/fix-create-server-wildcard-bold
Jul 1, 2026
Merged

docs(connect): fix regex wildcard breaking bold in Create MCP Server Name field#119
micheleRP merged 1 commit into
mainfrom
claude/fix-create-server-wildcard-bold

Conversation

@micheleRP

@micheleRP micheleRP commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes a rendering bug on the Create an MCP Server page. In the Name field row, the * inside the monospace proto regex ^[a-z][a-z0-9-]*$ paired with the *Immutable after create.* bold marker later in the same table cell. AsciiDoc bolded the wrong span and leaked a literal asterisk into the output.

Fix

Wrap the regex in a monospace passthrough (`+...+`) so its contents render verbatim and the bold marker resolves correctly:

  • Before: regex renders, but "Immutable after create." loses its bold and a stray * leaks.
  • After: <code>^[a-z][a-z0-9-]*$</code> renders literally and Immutable after create. is bold. (Verified in the built HTML.)

Context

Found while checking the repo for the same wildcard-escaping issue fixed in the Allowed MCP Resources row of the remote MCP clients page (PR #118). This was the only other page in the agentic-data-plane component where a monospace asterisk shares a block with a genuine *bold* marker and misrenders.

Preview pages

🤖 Generated with Claude Code

…Name field

The `*` in the monospace proto regex `^[a-z][a-z0-9-]*$` paired with the
`*Immutable after create.*` bold marker later in the same table cell, so
AsciiDoc bolded the wrong span and leaked a literal asterisk. Wrap the
regex in a monospace passthrough (`+...+`) so its contents render
verbatim and the bold resolves correctly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@micheleRP micheleRP requested a review from a team as a code owner July 1, 2026 14:53
@netlify

netlify Bot commented Jul 1, 2026

Copy link
Copy Markdown

Deploy Preview for redpanda-agentic-data-plane ready!

Name Link
🔨 Latest commit 627027f
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-agentic-data-plane/deploys/6a4529dddf757200084955cb
😎 Deploy Preview https://deploy-preview-119--redpanda-agentic-data-plane.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@micheleRP micheleRP merged commit 160150e into main Jul 1, 2026
4 checks passed
@micheleRP micheleRP deleted the claude/fix-create-server-wildcard-bold branch July 1, 2026 14:58
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.

1 participant