user handle causing formatting issues

when making this post I tried to mention the OP but it was not possible. text would get inverted in direction and placed after the “m_”

czkbCeBUe6h3UCJ.jpeg

also another issue happens when a link includes two http for example the post will not be posted without a clear error message (just happened to me when creating this post 🙃

11 points · 4 comments · view on lemmy.world

4 Comments

wjs018@piefed.social · 10 pts · 204d (3 replies)

Alright, yeah. Looks like this user is doing some weird unicode things with their display name. The user is m_f@discuss.online, but they have somehow transposed and reversed part of that. Looks like we are going to have to sanitize user display names to try to prevent this as it is misleading.

For the other point, I am not clear on the issue. Is it a problem when a url has http somewhere else in the url? If you put an example inside a code block or inline code, it shouldn't choke on your input.

e8CArkcAuLE@piefed.social · 2 pts · 204d (2 replies)

thanks for your rapid reply! (this)[http://https/://pastedlink.doubling.http/chokes] is an example. i use the linking feature(normal) and when pasting the link i forget to remove the other http:// so instead of only breaking the link, it chokes the post

wjs018@piefed.social · 3 pts · 204d (1 reply)

Just an update that I have a fix for the username display issue all set to go. It should be included in PieFed 1.7.

As for the url, would it be better if the "normal" link option just doesn't pre-populate part of the url. So, it would just insert []() instead of the current [](https://). I think most people are probably pasting urls in, so the pre-populated https:// is probably unnecessary most of the time.

e8CArkcAuLE@piefed.social · 2 pts · 204d

maybe it can be text or so people understand where goes what. thanks a lot for your quick and efficient work!