ChenZhu-Xie
(Xiè Chén-Zhú)
September 13, 2025, 2:46pm
1
double click CONFIG page → CONFIG page double Line spacing, see:
see also: double click CONFIG page → CONFIG page double Line spacing · Issue #35 · joekrill/silverbullet-treeview · GitHub
Actually, I have encountered four times the line spacing, if operated properly ...
For example, combined with commands like: Wipe out, Reload UI, Reload, etc., the operation can even be permanently effective.
MrMugame
(MrMugame)
September 13, 2025, 6:12pm
2
Cannot reproduce.
Does this also happen in a “clean” space, i.e. only silverbullet and the treeview plugin?
Does this also happen when you navigate twice using the page picker (Ctrl-K), i.e open the page using the page picker and then open it again?
ChenZhu-Xie
(Xiè Chén-Zhú)
September 13, 2025, 7:06pm
3
Since I standardized and dispersed the CONFIG to other parts, there has been no longer this issue -_-||…
I can’t reproduce it now either…
However, an earlier version of yesterday (Sep 13, 2025), may be able to reproduce: Commits · ChenZhu-Xie/xczphysics_SilverBullet · GitHub
Although I don’t think it’s necessary for now…
it seems that the root of the bug has been found:
opened 07:34AM - 02 Feb 26 UTC
### Description
I encountered a rendering issue where pages saved with **CRLF** … (Windows default) line endings display extra empty lines or excessive vertical margin between paragraphs.
https://github.com/user-attachments/assets/004caa4c-589d-42e4-85cb-cb084b3de520
related post: https://community.silverbullet.md/t/tree-view-plug-cause-config-double-line-spacing/3214?u=chenzhu-xie
### Steps to Reproduce
1. Run SilverBullet locally on Windows.
2. Create or edit a markdown file (e.g., `index.md`).
3. Ensure the file is saved with **CRLF** (`\r\n`) line endings.
4. Open the page in the browser.
### Expected Behavior
Paragraphs should have standard spacing, identical to how they render with LF line endings.
### Actual Behavior
The parser seems to interpret the carriage return (`\r`) as an additional newline, resulting in double line breaks or extra `<br>` tags between paragraphs in the DOM?
### Additional Context
- **Workaround:** Changing the file encoding to **LF** (`\n`) immediately resolves the issue and restores normal spacing.
- This issue does not occur on remote Linux deployments (which default to LF).