mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🎨 Trim space in dialynote/block ref/new doc save path https://github.com/siyuan-note/siyuan/issues/14482
This commit is contained in:
parent
4c080e2b34
commit
9687f59322
1 changed files with 1 additions and 0 deletions
|
|
@ -1785,6 +1785,7 @@ func removeInvisibleCharsInTitle(title string) string {
|
|||
title = strings.ReplaceAll(title, string(gulu.ZWJ), "__@ZWJ@__")
|
||||
title = util.RemoveInvalid(title)
|
||||
title = strings.ReplaceAll(title, "__@ZWJ@__", string(gulu.ZWJ))
|
||||
title = strings.TrimSpace(title)
|
||||
return title
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue