Skip to content

Commit 74774da

Browse files
authored
Merge pull request #3565 from jasongrout/allowclass
Allow the 'class' attribute to pass the sanitizer
2 parents 8e335ad + 688364b commit 74774da

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)