Closed invicticide closed 6 years ago
Wrapping an image in a link gives a text link with the label being the image's alt text, rather than rendering the image itself.
[![Image alt text](image.png)](foo.com)
Renders the text Image alt text instead of the image image.png.
Image alt text
image.png
The image.png should appear, with its alt and title tags set to Image alt text, and it should link to foo.com when clicked.
alt
title
foo.com
As of e4a9ade this no longer occurs. I didn't actually explicitly fix it, but I guess it became fixed as a byproduct of some earlier change?
What happened
Wrapping an image in a link gives a text link with the label being the image's alt text, rather than rendering the image itself.
Steps to reproduce
[![Image alt text](image.png)](foo.com)
Renders the text
Image alt text
instead of the imageimage.png
.Expected behavior
The
image.png
should appear, with itsalt
andtitle
tags set toImage alt text
, and it should link tofoo.com
when clicked.