invicticide / fractive

Fractive is a free, open-source, Markdown-based hypertext authoring tool for writing interactive fiction.
http://fractive.io
Other
38 stars 5 forks source link

Images which are also links do not render correctly #26

Closed invicticide closed 6 years ago

invicticide commented 6 years ago

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 image image.png.

Expected behavior

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.

invicticide commented 6 years ago

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?