Skip to content

Commit 14c5394

Browse files
committed
Merge remote-tracking branch 'origin/dev' into dev
2 parents a7384fa + 51926a2 commit 14c5394

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

app/appx/AppxManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<Identity Name="89C2A984.SiYuan"
1010
ProcessorArchitecture="x64"
1111
Publisher="CN=087C656E-C1D9-42D8-8807-CED45A74FC0F"
12-
Version="3.1.30.0"/>
12+
Version="3.1.31.0"/>
1313
<Properties>
1414
<DisplayName>SiYuan</DisplayName>
1515
<PublisherDisplayName>云南链滴科技有限公司</PublisherDisplayName>

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SiYuan",
3-
"version": "3.1.30",
3+
"version": "3.1.31",
44
"description": "Refactor your thinking",
55
"homepage": "https://b3log.org/siyuan",
66
"main": "./electron/main.js",

kernel/model/export.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2322,6 +2322,13 @@ func exportTree(tree *parse.Tree, wysiwyg, keepFold, avHiddenCol bool,
23222322
if root, _ := getBlock(id, tree); nil != root {
23232323
root.IAL["type"] = "doc"
23242324
title := &ast.Node{Type: ast.NodeHeading, HeadingLevel: 1}
2325+
for k, v := range root.IAL {
2326+
if "type" == k {
2327+
continue
2328+
}
2329+
title.SetIALAttr(k, v)
2330+
}
2331+
title.InsertAfter(&ast.Node{Type: ast.NodeKramdownBlockIAL, Tokens: parse.IAL2Tokens(title.KramdownIAL)})
23252332
content := html.UnescapeString(root.Content)
23262333
title.AppendChild(&ast.Node{Type: ast.NodeText, Tokens: []byte(content)})
23272334
ret.Root.PrependChild(title)

kernel/util/working.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import (
4545
var Mode = "prod"
4646

4747
const (
48-
Ver = "3.1.30"
48+
Ver = "3.1.31"
4949
IsInsider = false
5050

5151
// env vars as fallback for commandline parameters

0 commit comments

Comments
 (0)