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:
4 files changed
+261
-2
No files matched your search
+2
-1
@@ -16,6 +16,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/sitemap": "^3.7.3",
|
||||
"astro": "^7.1.6"
|
||||
"astro": "^7.1.6",
|
||||
"sanitize-html": "^2.17.7"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user