feat: clean plugin READMEs before they reach the page

A README is third-party HTML that can change after review. It is
sanitized against a closed allowlist on every build, and its relative
links are pointed at the published version so images and docs resolve
without knowing the author's branch.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-09-24 09:54:11 -05:00
1 parent 2ce1e0c4e5
commit d61b577a48
4 files changed
+261 -2

No files matched your search

+2 -1
View File
@@ -16,6 +16,7 @@
},
"dependencies": {
"@astrojs/sitemap": "^3.7.3",
"astro": "^7.1.6"
"astro": "^7.1.6",
"sanitize-html": "^2.17.7"
}
}