Skip to content

Commit

Permalink
encoding_spec: rm ":" from fragment links in e.g. ed25519::PublicKey
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Aug 30, 2022
1 parent a9b2cc6 commit cf78ec2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions encoding_spec/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ fn escape_fragment_anchor(string: impl AsRef<str>) -> String {
.replace('<', "")
.replace(',', "")
.replace(' ', "-")
.replace(':', "")
.to_ascii_lowercase()
}

Expand Down

0 comments on commit cf78ec2

Please sign in to comment.