feat: remove removal of spaces in title
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
1f0f526e38
commit
4ad8120cb5
@ -80,7 +80,7 @@ impl CreateItemState {
|
|||||||
|
|
||||||
if !title.is_empty() {
|
if !title.is_empty() {
|
||||||
let mut path = self.path.clone();
|
let mut path = self.path.clone();
|
||||||
path.push(title.replace([' ', '.'], "-"));
|
path.push(title.replace(['.'], "-"));
|
||||||
|
|
||||||
Some(self.state.create_item_command().command(
|
Some(self.state.create_item_command().command(
|
||||||
&self.root,
|
&self.root,
|
||||||
|
Loading…
Reference in New Issue
Block a user