Skip to content

Commit

Permalink
fix: slug normalize for .
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyuan0704 committed May 5, 2023
1 parent 5fe86cd commit 5f52075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/slugger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub struct Slugger {
}

fn normalize_slug(value: &String) -> String {
value.replace(" ", "-").replace(".", "-")
value.replace(" ", "-").replace(".", "")
}

impl Slugger {
Expand Down

0 comments on commit 5f52075

Please sign in to comment.