🎨 Remove invisible characters from file names when uploading assets https://github.com/siyuan-note/siyuan/issues/11683
This commit is contained in:
parent
428c34c931
commit
1d5a486d57
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ func FilterFileName(name string) string {
|
|||
name = strings.ReplaceAll(name, ">", "")
|
||||
name = strings.ReplaceAll(name, "|", "")
|
||||
name = strings.TrimSpace(name)
|
||||
name = gulu.Str.RemoveInvisible(name) // Remove invisible characters from file names when uploading assets https://github.com/siyuan-note/siyuan/issues/11683
|
||||
return name
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue