When running the build command, markdown-based images wrapped in links aren't properly rendering. For example:
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/colbyfayock/gatsby-starter-docz-netlifycms)
Renders out to HTML:
<a href="https://app.netlify.com/start/deploy?repository=https://github.com/colbyfayock/gatsby-starter-docz-netlifycms" class="css-1iv9jyz"><img alt="Deploy to Netlify" src="https://www.netlify.com/img/deploy/button.svg" /></a>
Bug Report
Describe the bug
When running the build command, markdown-based images wrapped in links aren't properly rendering. For example:
Renders out to HTML:
To Reproduce
npm run build
npm run serve
Expected behavior
Image should render
Environment