fix youtube embeds (#2394)

This commit is contained in:
Athou
2026-11-17 14:22:27 +01:00
parent d3ba47d200
commit e59948c68c
3 changed files with 10 additions and 2 deletions

View File

@@ -106,7 +106,14 @@ const Content = React.memo((props: ContentProps) => {
return (
<BasicHtmlStyles>
<Box className={classes.content}>
<Interweave content={props.content} transform={transform} matchers={matchers} allowList={allowList} />
<Interweave
content={props.content}
transform={transform}
matchers={matchers}
allowList={allowList}
// attributes are already sanitized server-side
allowAttributes
/>
</Box>
</BasicHtmlStyles>
)