formatter: Stop using phoenix HTML and format it ourselves
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Fri, 28 Sep 2018 15:20:28 +0000 (17:20 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Fri, 28 Sep 2018 15:32:27 +0000 (17:32 +0200)
commita3cffd3566495edfe823b75142524717d0b64b24
treed9ecd88a8bf0adc60180e4c6e266153cb47a7f98
parent34b6d444d61c40afe34e06980ab3566884504a2b
formatter: Stop using phoenix HTML and format it ourselves

* Pheonix has an extra scheme whitelist conflicting with ours
* Pheonix doesn’t seems to do URL encoding, just HTML encoding

Closes: https://git.pleroma.social/pleroma/pleroma/issues/307
lib/pleroma/formatter.ex
test/formatter_test.exs