Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ date: 2025-12-04
weight: 8
keywords: ["Swagger", "RESTful API"]
description: "使用官方 Swagger 工具链和 HTTP Adaptor 生成 RESTful API 文档"
disableSafeHTML: true
---

> **⚠️ 已废弃**
Expand Down
3 changes: 2 additions & 1 deletion layouts/partials/copy-to-llm.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
</div>

{{/* Embed raw markdown for copy-as-markdown */}}
<script id="copy-fulltext-markdown" type="text/plain">{{ .RawContent | safeHTML }}</script>
{{/* Allow front matter to disable safeHTML for XSS safety */}}
<script id="copy-fulltext-markdown" type="text/plain">{{ if .Params.disableSafeHTML }}{{ .RawContent }}{{ else }}{{ .RawContent | safeHTML }}{{ end }}</script>
Loading