This commit is contained in:
Liang Ding 2022-09-14 00:35:13 +08:00
parent 3fccbf0889
commit f0a6c2be8a
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 21 additions and 19 deletions

4
kernel/cache/ial.go vendored
View file

@ -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
}