RetroFed Forum
Your home away from modern life.
Unable to post a link with a tilde
Post Reply
AuthorMessage
rako tarte.nuage-libre.fr rako@tarte.nuage-libre.fr
Joined: 2026-01-07
Quote

I'd like to post links with a tilde (~) but the tilde gets removed. Is there a way to put it ?

Here's such a link : https://git.sr.ht/~mariusor/box

Here's what it should look like (with the added space to disable link rendering): https:// git.sr.ht/~mariusor/box

1   Original
Björn swg-empire.de bjoern_tantau@swg-empire.de
Joined: 2023-07-08
#2 · Quote Reply

Must be whatever you use as a front end. In Summit through Lemmy it's showing and working correctly.

1
klu9 piefed.social klu9@piefed.social
Joined: 2025-06-04
#3 · Quote Reply

Must be whatever you use as a front end. In Summit through Lemmy it's showing and working correctly.

For me in Piefed webpage

Link displayed as this:

  • https://git.sr.ht/mariusor/box

But hovering over / clicking gives this:

  • https://git.sr.ht/<sub>mariusor/box

Which results in a 404 error.

1
wjs018 piefed.wjs018.xyz wjs018@piefed.wjs018.xyz
Joined: 2025-07-15
#4 · Quote Reply

I'll take a look at the markdown_to_html function tonight. I'm not sure if this is coming from some of our custom markdown parsing or if this might be coming from markdown2, the python library that does the bulk of the work.

1
Tuuktuuk nord.pub Tuuktuuk@nord.pub
Joined: 2026-02-08
#5 · Quote Reply

As a workaround, you can replace the tilde with %7E and it will work: https://git.sr.ht/~mariusor/box

1
Tuuktuuk nord.pub Tuuktuuk@nord.pub
Joined: 2026-02-08
#6 · Quote Reply

Oh, and let's see if this works: This is a link <== This one says [This is a link](https://git.sr.ht/~mariusor/box)

Or even just: https://git.sr.ht/~mariusor/box <== [https://git.sr.ht/~mariusor/box](https://git.sr.ht/~mariusor/box)

...and if it doesn't, then at least this probably will: https://git.sr.ht/~mariusor/box <== [https://git.sr.ht/~mariusor/box](https://git.sr.ht/%7Emariusor/box)

1
Tuuktuuk nord.pub Tuuktuuk@nord.pub
Joined: 2026-02-08
#7 · Quote Reply

Oh, and let's see if this works: This is a link &lt;== This one says [This is a link](https://git.sr.ht/~mariusor/box) Or even just: https://git.sr.ht/~mariusor/box &lt;== [https://git.sr.ht/~mariusor/box](https://git.sr.ht/~mariusor/box) ...and if it doesn't, then at least this probably will: https://git.sr.ht/~mariusor/box &lt;== [https://git.sr.ht/~mariusor/box](https://git.sr.ht/%7Emariusor/box)

Ooookay... That's a bit weird. The same link breaks if I write a tilde in its description!? Woaw! Also, I cannot escape a tilde, apparently!

1
wjs018 piefed.wjs018.xyz wjs018@piefed.wjs018.xyz
Joined: 2025-07-15
#8 · Quote Reply

Just an update on this. I think I have found the issue and can work on it. The next version of PieFed is going to have quite a number of improvements to the markdown_to_html function (including embedded videos finally).

2
rako tarte.nuage-libre.fr rako@tarte.nuage-libre.fr
Joined: 2026-01-07
#9 · Quote Reply

As a workaround, you can replace the tilde with %7E and it will work: https://git.sr.ht/~mariusor/box

Thanks !

1
rako tarte.nuage-libre.fr rako@tarte.nuage-libre.fr
Joined: 2026-01-07
#10 · Quote Reply

For me in Piefed webpage Link displayed as this: https://git.sr.ht/mariusor/box But hovering over / clicking gives this: https://git.sr.ht/&lt;sub&gt;mariusor/box Which results in a 404 error.

yeah, this is exactly what I have. Using piefed

1
rako tarte.nuage-libre.fr rako@tarte.nuage-libre.fr
Joined: 2026-01-07
#11 · Quote Reply

Just an update on this. I think I have found the issue and can work on it. The next version of PieFed is going to have quite a number of improvements to the markdown_to_html function (including embedded videos finally).

Thanks for your work 🙏

1
wjs018 piefed.wjs018.xyz wjs018@piefed.wjs018.xyz
Joined: 2025-07-15
#12 · Quote Reply

Just wanted to follow up on this. I just pushed a fix for this issue, but it won't ship until PieFed 1.7. Thanks for your help identifying it!

1
rako tarte.nuage-libre.fr rako@tarte.nuage-libre.fr
Joined: 2026-01-07
#13 · Quote Reply

Just wanted to follow up on this. I just pushed a fix for this issue, but it won't ship until PieFed 1.7. Thanks for your help identifying it!

Wow, thank you for working on it so fast !

2
Post Reply
Back to top