Discuss Online
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
rako@tarte.nuage-libre.fr to PieFed help@piefed.socialEnglish · 5 days ago

Unable to post a link with a tilde

message-square
message-square
10
link
fedilink
9
message-square

Unable to post a link with a tilde

rako@tarte.nuage-libre.fr to PieFed help@piefed.socialEnglish · 5 days ago
message-square
10
link
fedilink

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

alert-triangle
You must log in or # to comment.
  • wjs018@piefed.wjs018.xyz
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 days ago

    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
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 days ago

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

    • rako@tarte.nuage-libre.frOP
      link
      fedilink
      Français
      arrow-up
      2
      ·
      4 days ago

      Thanks !

  • wjs018@piefed.wjs018.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    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.frOP
      link
      fedilink
      Français
      arrow-up
      1
      ·
      4 days ago

      Thanks for your work 🙏

  • Björn@swg-empire.de
    link
    fedilink
    arrow-up
    2
    ·
    5 days ago

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

    • klu9@piefed.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 days ago

      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.frOP
        link
        fedilink
        Français
        arrow-up
        2
        ·
        4 days ago

        yeah, this is exactly what I have. Using piefed

  • Tuuktuuk@nord.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    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/~mariusor/box)

    • Tuuktuuk@nord.pub
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 days 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!

PieFed help@piefed.social

piefed_help@piefed.social

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !piefed_help@piefed.social

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

Rules

Be kind! We’re all learning

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 17 users / week
  • 114 users / month
  • 262 users / 6 months
  • 1 local subscriber
  • 1.84K subscribers
  • 59 Posts
  • 258 Comments
  • Modlog
  • mods:
  • David@piefed.social
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org