mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-26 21:26:01 -05:00
fix: add no-refererer to img rendered by markdown (#2833)
This commit is contained in:
@@ -30,7 +30,7 @@ export function Markdown({ children }: { children: string }) {
|
||||
children?: React.ReactNode;
|
||||
}) => (
|
||||
// biome-ignore lint/a11y/useAltText: parsed markdown, so we can't guarantee alt text is present
|
||||
<img {...props} />
|
||||
<img {...props} referrerPolicy="no-referrer" />
|
||||
),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user