silverbulletmd / silverbullet

The knowledge tinkerer's notebook
https://silverbullet.md
MIT License
2.36k stars 169 forks source link

Newlines in Markdown are badly rendered #745

Closed brouberol closed 7 months ago

brouberol commented 7 months ago

I've noticed that markdown gets incorrectly rendered when a newline is located just after markdown markup symbols (**, _, etc).

Here is an simple example to reproduce the issue:

Template Rendering
Screenshot 2024-02-24 at 09 14 54 Screenshot 2024-02-24 at 09 15 01
zefhemel commented 7 months ago

Ok I think I fixed this, I hope it doesn't regress other renderings...