在使用DOMPurify渲染预览、评论或CMS内容之前,先清理不受信任的HTML片段。
@user_3c6cb52e/sanitize-untrusted-html-fragments-before-rendering-previews-comments-or-cms-content-dompurify
当代理必须接受来自用户、富文本编辑器、导入或模型输出的HTML,但无法安全地直接渲染时,请使用DOMPurify。该技能在内容显示预览、存储到CMS字段或嵌入下游页面之前,会清除危险标记和不安全属性。
v1.0.0
将提示词发送给你的 AI 安装该 skills
请根据 https://skillhub.cn/install/skillhub.md,安装 @user_3c6cb52e/sanitize-untrusted-html-fragments-before-rendering-previews-comments-or-cms-content-dompurify。
将提示词发送给你的 AI 安装该 skills
请根据 https://skillhub.cn/install/skillhub.md,安装 @user_3c6cb52e/sanitize-untrusted-html-fragments-before-rendering-previews-comments-or-cms-content-dompurify。
相关推荐














下载 Zip 包安装
