Bug: Image links
6mon 18d ago by lemmy.kde.social/u/sevon in photon@lemdro.id[](https://github.com/Xyphyn/photon/)
Above is an image inside a link. The image is broken.
I poked at the source code and found that MdImage gets passed href of the parent link and not the image url itself. So the image component tries to display https://github.com/Xyphyn/photon/instead of what its supposed to. It's probably caused by value meant for parent being sent to children via those ...rest params in MdTree, but I couldn't follow that enough to find out how exactly.
Should be fixed in main. Thanks for giving pointers
The video embeds aren't a side effect, you can already do that:
