Stacks-Editor icon indicating copy to clipboard operation
Stacks-Editor copied to clipboard

bug(commonmark) Bibliography style image markdown changed in round-trip

Open yellis opened this issue 3 years ago • 1 comments

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

[![Profile Picture](https://i.stack.imgur.com/VOU20s.png)][1]

[1]: https://i.stack.imgur.com/VOU20s.png

Expected behavior Round-trip should maintain the biblio link for the image

Screenshots demo

Desktop (please complete the following information): Windows 11 Chrome 103

Additional context https://meta.stackexchange.com/a/380380/51

yellis avatar Jul 17 '22 07:07 yellis

Need to implement the same logic for images as is implemented for links

yellis avatar Jul 18 '22 14:07 yellis