forked from alemi/upub
fix: calling this a fix is preposterous
but it should *not* work *less* often???
This commit is contained in:
parent
a4ba93c5d0
commit
cb9cae1af8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue