We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15ef279 commit efe69baCopy full SHA for efe69ba
1 file changed
server/utils/readme.ts
@@ -378,7 +378,7 @@ export async function renderReadmeHtml(
378
}
379
380
/** The link href uses the unique slug WITHOUT the 'user-content-' prefix, because that will later be added for all links. */
381
- return `<h${semanticLevel} id="${id}" data-level="${depth}"><a href="#${uniqueSlug}">${text}</a></h${semanticLevel}>\n`
+ return `<h${semanticLevel} id="${id}" data-level="${depth}"><a href="#${uniqueSlug}">${plainText}</a></h${semanticLevel}>\n`
382
383
384
// Syntax highlighting for code blocks (uses shared highlighter)
0 commit comments