Stacks-Editor
Stacks-Editor copied to clipboard
bug(commonmark) Bibliography style image markdown changed in round-trip
Describe the bug When using bibliography style hyperlinks to define the image address, on a round-trip it replaces the link to the image with the actual link (but keeps the biblio link for the hyperlink).
[![Profile Picture][1]][1]
[1]: https://i.stack.imgur.com/VOU20s.png
on a round-trip becomes
[][1]
[1]: https://i.stack.imgur.com/VOU20s.png
Expected behavior Round-trip should maintain the biblio link for the image
Screenshots

Desktop (please complete the following information): Windows 11 Chrome 103
Additional context https://meta.stackexchange.com/a/380380/51
Need to implement the same logic for images as is implemented for links