Skip to content

Commit dcdb211

Browse files
committed
Still allow class attrs in rendered markdown docs
Fixes microsoft#262219
1 parent 8b328f5 commit dcdb211

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)