mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 行级元素支持嵌套和交叉 https://github.com/siyuan-note/siyuan/issues/2911
This commit is contained in:
4
kernel/cache/ial.go
vendored
4
kernel/cache/ial.go
vendored
@@ -19,7 +19,7 @@ package cache
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/88250/lute/util"
|
||||
"github.com/88250/lute/editor"
|
||||
"github.com/dgraph-io/ristretto"
|
||||
)
|
||||
|
||||
@@ -41,7 +41,7 @@ func GetDocIAL(p string) (ret map[string]string) {
|
||||
|
||||
ret = map[string]string{}
|
||||
for k, v := range ial.(map[string]string) {
|
||||
ret[k] = strings.ReplaceAll(v, util.IALValEscNewLine, "\n")
|
||||
ret[k] = strings.ReplaceAll(v, editor.IALValEscNewLine, "\n")
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user