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 b732bee commit 43a7035Copy full SHA for 43a7035
server/utils/readme.ts
@@ -402,7 +402,7 @@ ${html}
402
// Helper to prefix id attributes with 'user-content-'
403
const prefixId = (tagName: string, attribs: sanitizeHtml.Attributes) => {
404
if (attribs.id && !attribs.id.startsWith('user-content-')) {
405
- attribs.id = `user-content-${attribs.id}`
+ attribs.id = `user-content-${attribs.id.toLowerCase()}`
406
}
407
return { tagName, attribs }
408
0 commit comments