Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve HTML clipping https://github.com/siyuan-note/siyuan/issues/14178

Danielfc289d3866aa
diff --git a/kernel/api/extension.go b/kernel/api/extension.go
index f9ca9c72d0..ab42575f70 100644
--- a/kernel/api/extension.go
+++ b/kernel/api/extension.go
@@ -78,6 +78,13 @@ func extensionCopy(c *gin.Context) {
continue
}
}
+ if strings.Contains(oName, "%") {
+ unescaped, _ := url.PathUnescape(oName)
+ if "" != unescaped {
+ oName = unescaped
+ }
+ }
+
u, _ := url.Parse(oName)
if "" == u.Path {
continue