forked from alemi/upub
chore: use ' ' instead of " " so clippy is happy
This commit is contained in:
parent
bd9b9782b4
commit
be6d9bf28b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue