Skip to content

Commit

Permalink
fix(api): allow dataset attributes in sanitization config
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyNeet authored and hwgilbert16 committed Jul 23, 2024
1 parent d0c3b9a commit d7fbe9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/api/src/app/shared/sanitization/sanitization-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ const allowedAttributes = [
"maskUnits",
"maskContentUnits",
"clipPathUnits",

// Dataset attributes
"data-*",
];

export const sanitizationConfig = {
Expand Down

0 comments on commit d7fbe9b

Please sign in to comment.