Cropping article titles #5503

Closed
opened 2026-02-05 10:07:22 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @zartt on GitHub (Nov 16, 2025).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Hello. In the old version, I somehow disabled title truncation so that the article title in the title and meta would be the full title, not just a few

Image

characters. I can't do this in the new version. Please help me. I need to remove this abbreviation.

Exact BookStack Version

25.11.1

Log Content


Hosting Environment

Ubuntu 22.02, PHP 8.2

Originally created by @zartt on GitHub (Nov 16, 2025). ### Attempted Debugging - [x] I have read the debugging page ### Searched GitHub Issues - [x] I have searched GitHub for the issue. ### Describe the Scenario Hello. In the old version, I somehow disabled title truncation so that the article title in the title and meta would be the full title, not just a few ![Image](https://github.com/user-attachments/assets/fa8ea5eb-5091-4f9b-b8e4-1fdf9fc2c6b4) characters. I can't do this in the new version. Please help me. I need to remove this abbreviation. ### Exact BookStack Version 25.11.1 ### Log Content ```text ``` ### Hosting Environment Ubuntu 22.02, PHP 8.2
OVERLORD added the 🐕 Support label 2026-02-05 10:07:22 +03:00
Author
Owner

@zartt commented on GitHub (Nov 24, 2025):

Please help, this function is ruining search results!

@zartt commented on GitHub (Nov 24, 2025): Please help, this function is ruining search results!
Author
Owner

@ssddanbrown commented on GitHub (Nov 27, 2025):

We don't really provide any level of official control for this.

The relevant code (for pages) can be found here: 0f40aeb0d3/app/Entities/Controllers/PageController.php (L159C36-L159C48)

This uses this function, which is shared across all the main content types:
0f40aeb0d3/app/Entities/Models/Entity.php (L342-L349)

So you could increase the 25 on the latter code reference, although this may affect other areas in the app.
Such changes to the code may interfere with updates though.

@ssddanbrown commented on GitHub (Nov 27, 2025): We don't really provide any level of official control for this. The relevant code (for pages) can be found here: https://github.com/BookStackApp/BookStack/blob/0f40aeb0d31cae2f7b27ec7e7a9e6ad7562341eb/app/Entities/Controllers/PageController.php#L159C36-L159C48 This uses this function, which is shared across all the main content types: https://github.com/BookStackApp/BookStack/blob/0f40aeb0d31cae2f7b27ec7e7a9e6ad7562341eb/app/Entities/Models/Entity.php#L342-L349 So you could increase the `25` on the latter code reference, although this may affect other areas in the app. Such changes to the code may interfere with updates though.
Author
Owner

@zartt commented on GitHub (Nov 27, 2025):

Thanks

@zartt commented on GitHub (Nov 27, 2025): Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5503