Describe the bug
Summary
In Jotty, when reading a note in view mode, fenced code blocks render with an extra empty line at the end.
This extra line is also numbered, so it looks like the code block contains one more line than it actually does.
Markdown editor :

View note :

Steps to reproduce
- Create or open a note containing a fenced code block in the Markdown Editor.
- Use this markdown fenced code block in any note :
```bash
Extraline with carriage return
```
- Switch to view mode.
Expected behavior
The code block should display only the actual lines of code, with matching line numbers and no extra empty line at the end.
How do you run Jotty?
Docker
Jotty Version
1.22.0
Checklist
Describe the bug
Summary
In Jotty, when reading a note in view mode, fenced code blocks render with an extra empty line at the end.
This extra line is also numbered, so it looks like the code block contains one more line than it actually does.
Markdown editor :

View note :

Steps to reproduce
Expected behavior
The code block should display only the actual lines of code, with matching line numbers and no extra empty line at the end.
How do you run Jotty?
Docker
Jotty Version
1.22.0
Checklist