ReticentJohn / Amaroq

A floofy Mastodon companion for iOS

Home Page:https://appsto.re/us/OfFxib.i

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amaroq strips newlines and links

spctrlth opened this issue · comments

I made a post with two newlines and a link. Someone notified me that the link didn't work, they use Amaroq. Apparently the problem was that newlines were stripped and the link wasn't seen as a link any more.

The instance runs Pleroma 2.2.0-2-g6e7963cc

Post I made: https://ilja.space/notice/A3Ym8YjgYGMQgrf6RM
afbeelding

Screenshot of what they see on Amaroq
afbeelding

Content as Amaroq recieves through the api (curl 'https://ilja.space/api/v1/statuses/A3Ym8YjgYGMQgrf6RM/' | jq .):

"content": "I made a peertube account and did a first stream. I was way to stressed so I didn&#39;t mention it here, but it&#39;s public now for any one interested. It&#39;s not much special, I just fixed a merge conflict on an MR I&#39;m working on. Feel free to provide feedback or w/e<br/><br/><a href=\"https://pt.neko.bar/videos/watch/d2cec1ea-5388-4784-a788-13b2917d00b8\" rel=\"ugc\">https://pt.neko.bar/videos/watch/d2cec1ea-5388-4784-a788-13b2917d00b8</a>"

You can see the <br> tags, but also that the url is using the <a>, so this one is also stripped.

This is probably also related to (or maybe the same problem as?) #135