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 cd8e55a commit 9802947Copy full SHA for 9802947
1 file changed
server/utils/readme.ts
@@ -422,7 +422,8 @@ ${html}
422
plainText = tokens[0].text
423
}
424
425
- const intermediateTitleAttr = `${` data-title-intermediate="${plainText || title}"`}`
+ const intermediateTitleAttr =
426
+ plainText || title ? ` data-title-intermediate="${plainText || title}"` : ''
427
428
return `<a href="${href}"${titleAttr}${intermediateTitleAttr}>${text}</a>`
429
0 commit comments