Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Link previews fail to render if the thread title is included in the URL #1493

@Pamasich

Description

@Pamasich

Describe the bug
Image
What I wrote

Image
What renders

Image
HTML contents

Image
It gets federated correctly (screenshot taken from the Lemmy instance of the user I replied to)

As you can see above, it seems Mbin tries to replace my link with something else but fails and only inserts a div despite removing the actual link, completely swallowing the actual link.

On which Mbin instance did you find the bug?
kbin.earth

Which Mbin version was running on the instance?
1.8.0

To Reproduce
Create a comment containing this link: https://kbin.earth/m/[email protected]/t/976189/PieFed-adds-multi-reddit-multi-community-feature/favourites

Expected behavior
Either my link stays intact or gets replaced with the new inline preview feature, either way I expect it to display in some manner.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Microsoft Edge
  • Browser Version: 132.0.2957.140

Additional context
Link to the comment
There's no errors in the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions