silverbulletmd / silverbullet

The hackable notebook
https://silverbullet.md
MIT License
2.01k stars 138 forks source link

Fixed greedy parsing of settings block #876

Closed MrMugame closed 3 weeks ago

MrMugame commented 3 weeks ago

This alters the regex for getting the settings block to not parse the content of the block greedily, because this could lead to problems where two consecutive blocks would be captured as one. Example

zefhemel commented 3 weeks ago

Thanks!