Open artragis opened 1 year ago
Thanks for reporting, this looks like a tricky problem. To make it clear, because I thought the behavior was intended at first: the problem does not happen when the Figure:
caption is absent, the two images appear correctly, as expected from the GFM specification (images are inlines). The result from the caption should at least not break anything. In my opinion, we should get two images under the same figure mark (hence treating the caption as a container block, with two inlines in it).
However this problem is easily mitigated by adding a line break between the two images, which would result in the two images treated as two different figures, one of the two having a default caption (which can also be changed using Figure:
). This is also why I think the behavior should not be this one if the two images are not separated by a line break.
input
optained
Only one image is displayed![image](https://user-images.githubusercontent.com/1523653/205368692-a6fa1928-9332-4b3d-9fc0-d6736d6ec375.png)
Expected
Two possibilities :