diff --git a/content/en/docs/hertz/tutorials/third-party/middleware/swagger.md b/content/en/docs/hertz/tutorials/third-party/middleware/swagger.md index 0a7b5130f86..31c8eef3c50 100644 --- a/content/en/docs/hertz/tutorials/third-party/middleware/swagger.md +++ b/content/en/docs/hertz/tutorials/third-party/middleware/swagger.md @@ -4,6 +4,7 @@ date: 2025-12-04 weight: 8 keywords: ["Swagger", "RESTful API"] description: "Generate RESTful API documentation with the official Swagger toolchain and HTTP adaptor." +disableSafeHTML: true --- > **⚠️ Deprecated** diff --git a/content/zh/docs/hertz/tutorials/third-party/middleware/swagger.md b/content/zh/docs/hertz/tutorials/third-party/middleware/swagger.md index 3bf19fb6ffc..a79628b2325 100644 --- a/content/zh/docs/hertz/tutorials/third-party/middleware/swagger.md +++ b/content/zh/docs/hertz/tutorials/third-party/middleware/swagger.md @@ -4,6 +4,7 @@ date: 2025-12-04 weight: 8 keywords: ["Swagger", "RESTful API"] description: "使用官方 Swagger 工具链和 HTTP Adaptor 生成 RESTful API 文档" +disableSafeHTML: true --- > **⚠️ 已废弃** diff --git a/layouts/partials/copy-to-llm.html b/layouts/partials/copy-to-llm.html index a99327eed4f..f9809c07bee 100644 --- a/layouts/partials/copy-to-llm.html +++ b/layouts/partials/copy-to-llm.html @@ -24,4 +24,5 @@ {{/* Embed raw markdown for copy-as-markdown */}} - +{{/* Allow front matter to disable safeHTML for XSS safety */}} +