diff --git a/app/appx/AppxManifest.xml b/app/appx/AppxManifest.xml index 9665eae6d..fc27d1094 100644 --- a/app/appx/AppxManifest.xml +++ b/app/appx/AppxManifest.xml @@ -9,7 +9,7 @@ + Version="3.1.31.0"/> SiYuan 云南链滴科技有限公司 diff --git a/app/package.json b/app/package.json index 1b0f4f32b..94ef6d287 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "SiYuan", - "version": "3.1.30", + "version": "3.1.31", "description": "Refactor your thinking", "homepage": "https://b3log.org/siyuan", "main": "./electron/main.js", diff --git a/kernel/model/export.go b/kernel/model/export.go index 829df231e..c71f9216c 100644 --- a/kernel/model/export.go +++ b/kernel/model/export.go @@ -2322,6 +2322,13 @@ func exportTree(tree *parse.Tree, wysiwyg, keepFold, avHiddenCol bool, if root, _ := getBlock(id, tree); nil != root { root.IAL["type"] = "doc" title := &ast.Node{Type: ast.NodeHeading, HeadingLevel: 1} + for k, v := range root.IAL { + if "type" == k { + continue + } + title.SetIALAttr(k, v) + } + title.InsertAfter(&ast.Node{Type: ast.NodeKramdownBlockIAL, Tokens: parse.IAL2Tokens(title.KramdownIAL)}) content := html.UnescapeString(root.Content) title.AppendChild(&ast.Node{Type: ast.NodeText, Tokens: []byte(content)}) ret.Root.PrependChild(title) diff --git a/kernel/util/working.go b/kernel/util/working.go index 6864d4e61..c2bd08d5a 100644 --- a/kernel/util/working.go +++ b/kernel/util/working.go @@ -45,7 +45,7 @@ import ( var Mode = "prod" const ( - Ver = "3.1.30" + Ver = "3.1.31" IsInsider = false // env vars as fallback for commandline parameters