this post was submitted on 18 Feb 2026
8 points (90.0% liked)

PieFed help

2378 readers
5 users here now

It's seems right that we should have a local community to help us all with PieFed

Rules

Be kind! We're all learning

founded 2 years ago
MODERATORS
 

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

top 12 comments
sorted by: hot top controversial new old
[–] wjs018@piefed.wjs018.xyz 6 points 2 months ago* (last edited 2 months ago)

I'll take a look at the markfown_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.

[–] Tuuktuuk@nord.pub 4 points 2 months ago (1 children)

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

[–] rako@tarte.nuage-libre.fr 2 points 2 months ago
[–] bjoern_tantau@swg-empire.de 2 points 2 months ago (1 children)

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

[–] klu9@piefed.social 2 points 2 months ago (1 children)

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.

[–] rako@tarte.nuage-libre.fr 2 points 2 months ago

yeah, this is exactly what I have. Using piefed

[–] wjs018@piefed.wjs018.xyz 2 points 2 months ago (1 children)

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).

[–] rako@tarte.nuage-libre.fr 1 points 2 months ago

Thanks for your work 🙏

[–] Tuuktuuk@nord.pub 1 points 2 months ago (1 children)

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)

[–] Tuuktuuk@nord.pub 2 points 2 months ago

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!

[–] wjs018@piefed.wjs018.xyz 1 points 2 months ago (1 children)

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!

[–] rako@tarte.nuage-libre.fr 2 points 2 months ago

Wow, thank you for working on it so fast !