[gatsby-remark-images]: bug: uses filename as alt text when showCaptions is true #14188
Labels
good first issue
Issue that doesn't require previous experience with Gatsby
help wanted
Issue with a clear description that the community can help with.
status: confirmed
Issue with steps to reproduce the bug that’s been verified by at least one reviewer.
type: bug
An issue or pull request relating to a bug in Gatsby
Description
Since #13489, when using
showCaptions:true
gatsby-remark-images
inserts the file name, when using the standard img snippet:Steps to reproduce
![](./img.jpg)
to a markdownExpected result
Shouldn't be any caption shown
Actual result
The file name is inserted as caption
Temporary workaround
You can insert a space between [ ], and then a space is shown instead, at least not visible.
Environment
The text was updated successfully, but these errors were encountered: