diff --git a/src/main.rs b/src/main.rs index f6e9477..3e21f21 100644 --- a/src/main.rs +++ b/src/main.rs @@ -239,7 +239,10 @@ async fn main() -> Result<()> { format!( "Generated blog post at: {}/{}", config.url, - res.replace("[+:.]", "-").to_lowercase() + res.replace("+", "-") + .replace(".", "-") + .replace(":", "-") + .to_lowercase() ), ) .await?;