fix: calling this a fix is preposterous

but it should *not* work *less* often???
This commit is contained in:
əlemi 2024-05-13 17:17:19 +02:00
parent a4ba93c5d0
commit cb9cae1af8
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -108,6 +108,7 @@ impl Context {
// TODO theres already 2 edge cases, i really need to get rid of this // TODO theres already 2 edge cases, i really need to get rid of this
id id
.replace('@', "/") .replace('@', "/")
.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