diff --git a/crates/hyperlog-tui/src/app/dialog/create_item.rs b/crates/hyperlog-tui/src/app/dialog/create_item.rs index c04e032..8d778e5 100644 --- a/crates/hyperlog-tui/src/app/dialog/create_item.rs +++ b/crates/hyperlog-tui/src/app/dialog/create_item.rs @@ -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,