Description: Line break without a blank line? #5582

Open
opened 2026-02-05 10:11:02 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @memo-567 on GitHub (Jan 27, 2026).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I haven't added new entries for a while, and so I only noticed this to me new behavior yesterday.

(image 1 - old and expected behavior / image 2 - new and as it is in reality now)

Image Image

I also notice manually editing or deleting content in description_html in table entity_container_data can change this.

Could it be that I overlooked or missed a change or configuration switch somewhere?

Exact BookStack Version

BookStack v25.12.2

Log Content


Hosting Environment

N/A

Originally created by @memo-567 on GitHub (Jan 27, 2026). ### Attempted Debugging - [x] I have read the debugging page ### Searched GitHub Issues - [x] I have searched GitHub for the issue. ### Describe the Scenario I haven't added new entries for a while, and so I only noticed this to me new behavior yesterday. (image 1 - old and expected behavior / image 2 - new and as it is in reality now) <img width="838" height="373" alt="Image" src="https://github.com/user-attachments/assets/910b75f9-4eca-4733-ba60-35b7679953ba" /> <img width="823" height="460" alt="Image" src="https://github.com/user-attachments/assets/2ec4d88f-6897-48e7-b842-7da0f22afc56" /> I also notice manually editing or deleting content in `description_html` in table `entity_container_data` can change this. Could it be that I overlooked or missed a change or configuration switch somewhere? ### Exact BookStack Version BookStack v25.12.2 ### Log Content ```text ``` ### Hosting Environment N/A
OVERLORD added the 🐕 Support label 2026-02-05 10:11:02 +03:00
Author
Owner

@zakcole08 commented on GitHub (Jan 27, 2026):

If you use SHIFT+ENTER for your line breaks it should create them without the extra space. I am not sure if this can be changed in the configuration, but I have this behaviour too.

@zakcole08 commented on GitHub (Jan 27, 2026): If you use SHIFT+ENTER for your line breaks it should create them without the extra space. I am not sure if this can be changed in the configuration, but I have this behaviour too.
Author
Owner

@memo-567 commented on GitHub (Jan 27, 2026):

If you use SHIFT+ENTER for your line breaks ...

Ahhhh... Thanks for the hint. 👍👍👍

This is not the very best solution, especially when pasting content, but it is much more elegant than editing an entry manually in DB.

A switch in "Default Page Editor" or on the config page might be better - but I couldn't find it (yet).

@memo-567 commented on GitHub (Jan 27, 2026): > If you use SHIFT+ENTER for your line breaks ... Ahhhh... Thanks for the hint. 👍👍👍 This is not the very best solution, especially when pasting content, but it is much more elegant than editing an entry manually in DB. A switch in "Default Page Editor" or on the config page might be better - but I couldn't find it (yet).
Author
Owner

@ssddanbrown commented on GitHub (Jan 29, 2026):

Thanks for answering on this @zakcole08.

Yeah, I'm pretty sure this has been the way since we changed to a full WYSIWYG editor a while back, since now it's possible to enter separate paragraphs instead of it just being a single block of plain-text.
I wouldn't want to provide an option for the shift+enter method to be the default, especially since this changes the fundamental semantics of how blocks are considered, whereas the desire here feels more about aesthetics.

If desired, I could provide a small customisation you could add via settings which removes the paragraph spacing for these description blocks, so it visually appears like the first example.

@ssddanbrown commented on GitHub (Jan 29, 2026): Thanks for answering on this @zakcole08. Yeah, I'm pretty sure this has been the way since we changed to a full WYSIWYG editor a while back, since now it's possible to enter separate paragraphs instead of it just being a single block of plain-text. I wouldn't want to provide an option for the shift+enter method to be the default, especially since this changes the fundamental semantics of how blocks are considered, whereas the desire here feels more about aesthetics. If desired, I could provide a small customisation you could add via settings which removes the paragraph spacing for these description blocks, so it visually appears like the first example.
Author
Owner

@memo-567 commented on GitHub (Jan 29, 2026):

I would appreciate that, as I work almost exclusively with paste & copy. Thanks :)

@memo-567 commented on GitHub (Jan 29, 2026): I would appreciate that, as I work almost exclusively with paste & copy. Thanks :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5582