Skip to content

Fix </> HTML entities rendering as literal strings#895

Open
8bitpal wants to merge 3 commits into
mainfrom
fix/875-html-entity-rendering
Open

Fix </> HTML entities rendering as literal strings#895
8bitpal wants to merge 3 commits into
mainfrom
fix/875-html-entity-rendering

Conversation

@8bitpal

@8bitpal 8bitpal commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator
  • Replaces &lt; and &gt; with literal < and > in code blocks and backtick-enclosed prose across 22 files
  • Mintlify/MDX does not decode HTML entities in fenced code blocks or inline code spans, so placeholders like &lt;package-name&gt; were rendering as the raw entity strings
  • Leaves entities intact inside raw HTML elements (<code>, <dd>, etc.) where they are intentional and decoded by the HTML renderer

Closes #875

Replaces &lt; and &gt; with literal < and > in code blocks and
backtick-enclosed prose, where Mintlify renders entities as-is rather
than decoding them. Leaves entities intact inside raw HTML elements
(command-deduplication, performance-optimization, language-reference)
where HTML context correctly decodes them.

Closes #875

Signed-off-by: 8bitpal <eliashaase@gmail.com>
@mintlify

mintlify Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated (UTC)
cantonfoundation 🟢 Ready View Preview Jun 29, 2026, 6:56 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Provider<DappRpcTypes> in prose/table cells (not inside backtick spans)
and <random_UUID> in prose were incorrectly unescaped by the prior
entity fix; restore them as &lt;&gt; entities to prevent MDX parse
errors. Also regenerate network variable tabs for
validator-disaster-recovery.mdx.

Signed-off-by: 8bitpal <eliashaase@gmail.com>
@8bitpal 8bitpal marked this pull request as ready for review June 29, 2026 07:22
@8bitpal 8bitpal requested a review from Jatinp26 June 29, 2026 07:22
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.

greater-than / less-than symbols are being rendered incorrectly on docs pages

1 participant