collapsible block makes an extra line in each block when changing a page #3228

Closed
opened 2026-02-05 06:10:45 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @reddexx on GitHub (Sep 30, 2022).

Describe the Bug

When changing a page with the content "collapsible block", 1 line per block is added each time the change is made. at some point you have 50 empty lines.

Steps to Reproduce

  1. Edit Page
  2. Save Page
  3. Edit Page

Expected Behaviour

No blank lines

Screenshots or Additional Context

First Edit:
image

On the View Mode:
image

Second Edit:
image

After Save:
image

Browser Details

No response

Exact BookStack Version

22.09.1

PHP Version

8

Hosting Environment

Docker-Container

Originally created by @reddexx on GitHub (Sep 30, 2022). ### Describe the Bug When changing a page with the content "collapsible block", 1 line per block is added each time the change is made. at some point you have 50 empty lines. ### Steps to Reproduce 1. Edit Page 2. Save Page 3. Edit Page ### Expected Behaviour No blank lines ### Screenshots or Additional Context First Edit: ![image](https://user-images.githubusercontent.com/6242840/193219971-749ccc55-e3c4-4e81-af12-977afd43379f.png) On the View Mode: ![image](https://user-images.githubusercontent.com/6242840/193220219-fd86370a-c244-4d94-8009-aef88a67e9a2.png) Second Edit: ![image](https://user-images.githubusercontent.com/6242840/193220438-92be14dd-41dd-4cfe-a868-59429e76719a.png) After Save: ![image](https://user-images.githubusercontent.com/6242840/193220625-0056cd88-50d9-450f-9f5c-836b5caaf285.png) ### Browser Details _No response_ ### Exact BookStack Version 22.09.1 ### PHP Version 8 ### Hosting Environment Docker-Container
OVERLORD added the 🐛 Bug label 2026-02-05 06:10:45 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3228