1
0
Fork 0
forked from alemi/upub

chore: use ' ' instead of " " so clippy is happy

This commit is contained in:
əlemi 2024-05-13 18:54:09 +02:00
parent bd9b9782b4
commit be6d9bf28b
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -111,7 +111,7 @@ impl Context {
.replace("///", "/@/") // omg wordpress PLEASE AAAAAAAAAAAAAAAAAAAA .replace("///", "/@/") // omg wordpress PLEASE AAAAAAAAAAAAAAAAAAAA
.replace("//", "/@") // oops my method sucks!! TODO .replace("//", "/@") // oops my method sucks!! TODO
.replacen('+', "https://", 1) .replacen('+', "https://", 1)
.replace(" ", "%20") // omg wordpress .replace(' ', "%20") // omg wordpress
} else { // bare local id } else { // bare local id
format!("{}{}/{}/{}", self.0.protocol, self.0.domain, entity, id) format!("{}{}/{}/{}", self.0.protocol, self.0.domain, entity, id)
} }