Describe the bug
When markdown block ends with one or more blank lines, those lines remain in collapsed view.
To Reproduce
Create a markdown block ending in blank lines:
Markdown collapsed example
--------------------------
First line
Second line
![image](https://github.com/heyman/heynote/assets/667283/e94df437-c92d-4daa-a539-40437b698e74)
2. Collapse it:
![image](https://github.com/heyman/heynote/assets/667283/60a3d328-a9cb-4115-ba14-f61d93ef06c6)
**Expected behavior**
Trailing blank lines are not visible when collapsed.
**Desktop (please complete the following information):**
- OS: Win11
- Version 1.7.0
Describe the bug When markdown block ends with one or more blank lines, those lines remain in collapsed view.
To Reproduce
First line Second line