feat: add rehype-sanitize for enhanced Markdown security

- Added rehype-sanitize as a dependency to sanitize Markdown content.
- Updated the Markdown component to include rehype-sanitize in the rehypePlugins for improved security against XSS attacks.
This commit is contained in:
Kacper
2025-12-22 20:22:40 +01:00
parent a0fd19fe17
commit 0b8a79bc25
3 changed files with 34 additions and 2 deletions

View File

@@ -53,6 +53,7 @@
},
"dependencies": {
"cross-spawn": "^7.0.6",
"rehype-sanitize": "^6.0.0",
"tree-kill": "^1.2.2"
},
"devDependencies": {