mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01: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:
parent
8c9d947ff2
commit
b24c06fbce
4 changed files with 45 additions and 35 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue