🎨 数据同步后需要重新加载图片 OCR 提取结果 Fix https://github.com/siyuan-note/siyuan/issues/7114

This commit is contained in:
Liang Ding 2023-01-18 16:20:57 +08:00
parent 9c626ebc0b
commit 175a938eec
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
7 changed files with 21 additions and 9 deletions

View file

@ -141,7 +141,7 @@ func FilterUploadFileName(name string) string {
ret = strings.ReplaceAll(ret, "#", "")
ret = strings.ReplaceAll(ret, "%", "")
ret = strings.ReplaceAll(ret, "$", "")
// 插入资源文件时文件名长度最大限制 189 字节 https://github.com/siyuan-note/siyuan/issues/7099
// 插入资源文件时文件名长度最大限制 63 个字 https://github.com/siyuan-note/siyuan/issues/7099
ret = gulu.Str.SubStr(ret, 63)
return ret
}