We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75343ab commit 579ff70Copy full SHA for 579ff70
app/helpers/markdown-to-html.ts
@@ -45,6 +45,8 @@ export default class MarkdownToHtml extends Helper<Signature> {
45
node.setAttribute('rel', 'noopener noreferrer');
46
}
47
48
+ // https://github.com/PrismJS/prism/issues/3658
49
+ // PrismJS unconditionally adds a tabindex to <pre> elements, without any opt-out
50
if (node.nodeName === 'PRE') {
51
node.setAttribute('tabindex', '-1');
52
0 commit comments