🎨 Double quotes in inline elements are no longer converted to HTML entities when pasting Markdown https://github.com/siyuan-note/siyuan/issues/14503

This commit is contained in:
Daniel 2025-04-03 15:45:57 +08:00
parent 94fe712efd
commit 17de3bc8b1
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 20 additions and 10 deletions

View file

@ -257,7 +257,8 @@ func nodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATi
}
if !strings.HasPrefix(n.TextMarkAHref, "assets/") || includeAssetPath {
buf.WriteString(" " + util.UnescapeHTML(n.TextMarkAHref))
href := util.UnescapeHTML(n.TextMarkAHref)
buf.WriteString(" " + util.UnescapeHTML(href))
}
}
case ast.NodeBackslashContent: