mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🐛 Line break lost after soft break of end-of-line element https://github.com/siyuan-note/siyuan/issues/10718
This commit is contained in:
parent
1a403ff745
commit
c7beb2a1f8
4 changed files with 4 additions and 10 deletions
|
|
@ -233,11 +233,6 @@ func fixLegacyData(tip, node *ast.Node, idMap *map[string]bool, needFix, needMig
|
|||
node.Tokens = []byte("Untitled")
|
||||
*needFix = true
|
||||
}
|
||||
if 1 == len(node.Tokens) && bytes.Equal(node.Tokens, []byte("\n")) {
|
||||
// https://ld246.com/article/1710381064911
|
||||
node.Tokens = []byte("")
|
||||
*needFix = true
|
||||
}
|
||||
case ast.NodeTagCloseMarker:
|
||||
if nil != tip.LastChild {
|
||||
if ast.NodeTagOpenMarker == tip.LastChild.Type {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue