Skip to content

Commit 7e4a79a

Browse files
committed
chore(docs): allow tabindex attribute in pres
1 parent ffde605 commit 7e4a79a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/apidocs/utils/markdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const htmlSanitizeOptions: sanitizeHtml.IOptions = {
3131
a: ['href', 'target', 'rel'],
3232
button: ['class', 'title'],
3333
div: ['class'],
34-
pre: ['class', 'v-pre'],
34+
pre: ['class', 'v-pre', 'tabindex'],
3535
span: ['class', 'style'],
3636
},
3737
selfClosing: [],

0 commit comments

Comments
 (0)