Open aminya opened 2 years ago
I have the same problem with images in MD files: https://github.com/ApptivaAG/gaston-webpage/blob/4ee4cfeee1a1ad1b879ff96ad36d06fb48d8e5eb/src/pages/en/blog/update-2022-q1/index.md?plain=1#L21 (Markdown) -> https://gastonsolution.com/en/blog/update-2022-q1/ (rendered)
Same problem here. This is problematic because some tools like Ahrefs will consider these links as broken links.
<img src="/assets/cns@200w.cedfd24" srcset="/assets/cns@200w.cedfd245.png" ...>
The
src
attribute in theimg
tag generated by thePicture
component doesn't have a file extension. This is incorrect.The astro code is:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-src