Block images with links are broken | link is removed on save
Open
Nobody has claimed this yet.
1. to develop
bug
feature: images
format: markdown
regression
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Describe the bug
Inline images within links are broken, for example:
[](https://example.com)
will now result in only the image (link gets removed):

To Reproduce
Steps to reproduce the behavior:
- Upload a markdown file with inline image within a link
- Add some other content (below / before...)
- Save file and download
- See removed link
Expected behavior
Inline images still have the link markup applied
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue through the markdown upload, edit, save, and download flow using an inline image inside a link. Start by tracing the markdown handling involved in that flow; done means the downloaded content preserves the link markup around the image after saving.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100