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
12 Comments
wjs018@piefed.wjs018.xyz · 6 pts · 214d
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.
Tuuktuuk@nord.pub · 5 pts · 214d
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 pts · 214d
Thanks !
wjs018@piefed.wjs018.xyz · 2 pts · 214d
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_htmlfunction (including embedded videos finally).rako@tarte.nuage-libre.fr · 1 pts · 214d
Thanks for your work 🙏
bjoern_tantau@swg-empire.de · 2 pts · 214d
Must be whatever you use as a front end. In Summit through Lemmy it's showing and working correctly.
klu9@piefed.social · 3 pts · 214d
For me in Piefed webpage
Link displayed as this:
https://git.sr.ht/mariusor/boxBut hovering over / clicking gives this:
https://git.sr.ht/<sub>mariusor/boxWhich results in a 404 error.
rako@tarte.nuage-libre.fr · 2 pts · 214d
yeah, this is exactly what I have. Using piefed
wjs018@piefed.wjs018.xyz · 1 pts · 207d
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 pts · 207d
Wow, thank you for working on it so fast !
Tuuktuuk@nord.pub · 1 pts · 214d
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 pts · 214d
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!