Image links are broken in Gallery components
Open
Bug
Low priority
- Dominant language
- JavaScript
- Stars
- 8
- Forks
- 1
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 7
Description
## Issue Description
Clicking images in gallery components leads to an error, since H2 seems to be treating them as post links. ( Given that 'Link to' option is set to 'Media file' ).

## Steps to reproduce:
- Add a new gallery with one or more images
- Set 'Link to' to 'Media file'
- Preview the article
- Click one of the images
## Expected Result:
- I see the image ( open in a new tab, since we don't have lightbox-like components )
Contributor guide
Assessment
This issue has not been assessed yet.