feat: remove removal of spaces in title
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-05-15 15:17:24 +02:00
parent 1f0f526e38
commit 4ad8120cb5
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -80,7 +80,7 @@ impl CreateItemState {
if !title.is_empty() {
let mut path = self.path.clone();
path.push(title.replace([' ', '.'], "-"));
path.push(title.replace(['.'], "-"));
Some(self.state.create_item_command().command(
&self.root,