Skip to content

Commit 579ff70

Browse files
committed
chore: add documentation comment
1 parent 75343ab commit 579ff70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/helpers/markdown-to-html.ts

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ export default class MarkdownToHtml extends Helper<Signature> {
4545
node.setAttribute('rel', 'noopener noreferrer');
4646
}
4747

48+
// https://github.com/PrismJS/prism/issues/3658
49+
// PrismJS unconditionally adds a tabindex to <pre> elements, without any opt-out
4850
if (node.nodeName === 'PRE') {
4951
node.setAttribute('tabindex', '-1');
5052
}

0 commit comments

Comments
 (0)