🎨 All plain text formats are supported when comparing data snapshots https://github.com/siyuan-note/siyuan/issues/12975

This commit is contained in:
Daniel 2024-11-01 09:38:34 +08:00
parent 641550e1ed
commit 6db7b847e9
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 19 additions and 37 deletions

View file

@ -70,7 +70,7 @@ func openRepoSnapshotDoc(c *gin.Context) {
}
id := arg["id"].(string)
title, content, isProtyleDoc, updated, err := model.OpenRepoSnapshotDoc(id)
title, content, displayInText, updated, err := model.OpenRepoSnapshotDoc(id)
if err != nil {
ret.Code = -1
ret.Msg = err.Error()
@ -78,10 +78,10 @@ func openRepoSnapshotDoc(c *gin.Context) {
}
ret.Data = map[string]interface{}{
"title": title,
"content": content,
"isProtyleDoc": isProtyleDoc,
"updated": updated,
"title": title,
"content": content,
"displayInText": displayInText,
"updated": updated,
}
}