mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🐛 The hyperlink in the changelog fails to jump to the browser to open https://github.com/siyuan-note/siyuan/issues/8458
This commit is contained in:
@@ -66,10 +66,11 @@ func getChangelog(c *gin.Context) {
|
||||
|
||||
model.Conf.ShowChangelog = false
|
||||
luteEngine := lute.New()
|
||||
htmlContent := luteEngine.Markdown("", contentData)
|
||||
htmlContent := luteEngine.MarkdownStr("", string(contentData))
|
||||
htmlContent = util.LinkTarget(htmlContent, "")
|
||||
|
||||
data["show"] = true
|
||||
data["html"] = gulu.Str.FromBytes(htmlContent)
|
||||
data["html"] = htmlContent
|
||||
ret.Data = data
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user