AppFlowy-IO / AppFlowy-IO/appflowy-editor
[Bug] Markdown: 3 or more images without a line break in a row do not get parsed correctly
- Lenguaje dominante
- Dart
- Estrellas
- 684
- Forks
- 329
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### Bug Description
When there are n (n>2) images in a row and there is no line in between them, only the first image is being shown. This is related to the commit #1012 , which solves the issue of an image following a paragraph without an empty line, but it does not solve the issue of multiple images in a row.
### How to Reproduce
Try this markdown and use `markdownToDocument()`.
```markdown
## Case 1: Images on separate lines, no blank lines between
Only the **first image** renders below:



✅ If we add blank lines between them, all images render:



---
## Case 2: All images in the same line (inline)
Only the **first image** renders:
  
```
### Expected Behavior
One expects that all images load in any case.
### Operating System
Web (Windows)
### AppFlowy Editor Version(s)
5.2.0
### Screenshots
_No response_
### Additional Context
_No response_
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.