Changge trucator function from mb_strimwidth to mb_substr to preserve entire words

Created on 16 August 2025, about 2 months ago

The current function used in truncator function is mb_strimwidth. I don't see any option there to preserve words and this leads on titles with words cut. I propose using mb_substr combined with mb_strrpos to avoid word cutting.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France erwangel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024