Generate cleaner page content ids for non-ascii content #3887

Open
opened 2026-02-05 07:46:15 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @MrDimain on GitHub (Jun 27, 2023).

Describe the Bug

When automatically generating a bookmark name, a name is created in a different encoding.

Who can i fix that? If i can...

Steps to Reproduce

  1. Click "Source Code"
  2. I see that:
    image

Expected Behaviour

I would like to see this:
image
or that:
image

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v23.05.2

PHP Version

No response

Hosting Environment

Ubuntu 22.04.2

Originally created by @MrDimain on GitHub (Jun 27, 2023). ### Describe the Bug When automatically generating a bookmark name, a name is created in a different encoding. Who can i fix that? If i can... ### Steps to Reproduce 1. Click "Source Code" 2. I see that: ![image](https://github.com/BookStackApp/BookStack/assets/18513477/1ff65a89-3363-4c58-8aac-145fb53bdcb1) ### Expected Behaviour I would like to see this: ![image](https://github.com/BookStackApp/BookStack/assets/18513477/e0838c25-c46e-4e9a-b7ca-55c292853507) or that: ![image](https://github.com/BookStackApp/BookStack/assets/18513477/39db45b4-34ad-4ead-b344-a4cd58a2acf4) ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version v23.05.2 ### PHP Version _No response_ ### Hosting Environment Ubuntu 22.04.2
OVERLORD added the 🔨 Feature Request label 2026-02-05 07:46:15 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jun 28, 2023):

Thanks for raising @MrDimain.
As far as I can tell though this works okay, just with overly verbose/escaped encoding.
I'll therefore categorize this to be a features request since it's not a break in existing logic, just different to expectations or the ideal output.

@ssddanbrown commented on GitHub (Jun 28, 2023): Thanks for raising @MrDimain. As far as I can tell though this works okay, just with overly verbose/escaped encoding. I'll therefore categorize this to be a features request since it's not a break in existing logic, just different to expectations or the ideal output.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3887