Skip to content

Commit

Permalink
Don't remove class attribute from tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
underbluewaters committed Jan 4, 2024
1 parent d03f889 commit bfb1a58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function sanitizeInput(input: string) {
input = sanitizeHtml(input, {
allowedAttributes: {
...sanitizeHtml.defaults.allowedAttributes,
"*": ["style"],
"*": ["style", "class"],
},
});
return input;
Expand Down

0 comments on commit bfb1a58

Please sign in to comment.