[PR #5797] fix: empty space for the empty description field #6571

Open
opened 2026-02-05 10:35:48 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/5797
Author: @MohammadAlhallaq
Created: 9/10/2025
Status: 🔄 Open

Base: developmentHead: fix-empty-space-for-the-description-field


📝 Commits (1)

  • 98376d2 fix: empty space for the empty description field

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 app/Entities/Models/HtmlDescriptionTrait.php (+1 -0)

📄 Description

Fix empty description rendering
CLOSES #5724

Centralized empty HTML trimming in HasHtmlDescription.php and updated views to prevent rendering

tags for empty descriptions.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/5797 **Author:** [@MohammadAlhallaq](https://github.com/MohammadAlhallaq) **Created:** 9/10/2025 **Status:** 🔄 Open **Base:** `development` ← **Head:** `fix-empty-space-for-the-description-field` --- ### 📝 Commits (1) - [`98376d2`](https://github.com/BookStackApp/BookStack/commit/98376d2337dfc1f34a31efa38d85a9df810da804) fix: empty space for the empty description field ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `app/Entities/Models/HtmlDescriptionTrait.php` (+1 -0) </details> ### 📄 Description Fix empty description rendering CLOSES #5724 Centralized empty HTML trimming in HasHtmlDescription.php and updated views to prevent rendering <p> tags for empty descriptions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:35:48 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6571