redlib
redlib copied to clipboard
🐛 Bug Report: i.postimg.cc images don't embed inside posts
Describe the bug
When a user links a picture that's hosted on https://postimages.org (images link to i.postimg.cc) Reddit will embed it. This behavior can be seen outside of the post in Redlib, where it embeds properly, but inside the post only the link to the image appears instead.
Steps to reproduce the bug
Visit https://redlib.catsarch.com/user/Devil-767/submitted and see the post "Arch linux installation" in r/archlinux and see that that image is embedded
Go into the post and see that the image is no longer embedded.
What's the expected behavior?
The image embeds within the post the same as it does outside of it.
Additional context / screenshot
Outside of the post:
Inside of the post:
The image had also embedded in a crosspost the user did.
- [x] I checked that the instance that this was reported on is running the latest git commit, or I can reproduce it locally on the latest git commit