Skip to content

Commit 688364b

Browse files
committed
Allow the 'class' attribute to pass the sanitizer
Fixes #3564
1 parent 58adde2 commit 688364b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/base-manager/src/manager-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function default_inline_sanitize(s: string): string {
7070
'ul',
7171
];
7272
const allowedAttributes = {
73-
'*': ['aria-*', 'style', 'title'],
73+
'*': ['aria-*', 'class', 'style', 'title'],
7474
a: ['href'],
7575
img: ['src'],
7676
style: ['media', 'type'],

0 commit comments

Comments
 (0)