diff --git a/frontend/src/components/card-content-text/cardContentText.tsx b/frontend/src/components/card-content-text/cardContentText.tsx index ccb7e9a5..abce9ef3 100644 --- a/frontend/src/components/card-content-text/cardContentText.tsx +++ b/frontend/src/components/card-content-text/cardContentText.tsx @@ -15,7 +15,7 @@ declare module "dompurify" { export const CardContentText: FC = ({ text }) => { const cleanHtml = DOMPurify.sanitize(text, { - ADD_TAGS: ["style"], + ADD_TAGS: ["style", "iframe"], ADD_ATTR: ["style"], ALLOWED_STYLES: [ "color",