Skip to content

Commit 13b02b9

Browse files
authored
Merge pull request microsoft#262232 from mjbvz/rigid-dinosaur
Still allow class attrs in rendered markdown docs
2 parents bda1ed2 + dcdb211 commit 13b02b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ function sanitize(documentContent: string, sanitizerConfig: MarkdownDocumentSani
177177
...allowedMarkdownHtmlAttributes,
178178
'name',
179179
'id',
180+
'class',
180181
'role',
181182
'tabindex',
182183
'placeholder',

0 commit comments

Comments
 (0)