Files
oak-gpui/crates
Bennet Bo Fenner 6d78737973 markdown preview: Insert missing line break on hard break (#9687)
Closes #8990

For this input
```
Test \
Test
```

pulldown_cmark reports
```
Start(Paragraph)
Text(Borrowed("Test "))
HardBreak
Text(Borrowed("Test"))
End(Paragraph)
```

Previously `Event::HardBreak` just marked the paragraph block as
completed and ignored all the remaining text inside the paragraph.

Before:
See https://github.com/zed-industries/zed/issues/8990#issue-2173197637

After:

![image](https://github.com/zed-industries/zed/assets/53836821/48237ea6-d749-4207-89a3-b0f146b0e544)


Release Notes:

- Fixed markdown preview not handling hard breaks (e.g. `\`) correctly
([#8990](https://github.com/zed-industries/zed/issues/8990)).
2024-03-25 10:06:00 +02:00
..
2024-03-22 08:44:56 -06:00
2024-03-20 20:37:40 -06:00
2024-03-18 14:27:39 -07:00
2024-03-20 15:52:02 +01:00
2024-03-11 10:45:57 +01:00
2024-03-19 10:13:10 -07:00
2024-03-11 10:45:57 +01:00
2024-03-14 17:05:07 -04:00
2024-03-22 16:18:33 +01:00
2024-03-22 08:44:56 -06:00