Regression: number of characters should not count invisible HTML

Created on 24 November 2023, 12 months ago
Updated 3 December 2023, 12 months ago

#2975871: Number of characters should not include invisible HTML (8.x) was marked fixed in 2.0.0, but this appears to have regressed. To reproduce:

  • Set a formatted text field to be trimmed to 100 characters.
  • Note where the output ends.
  • Make any word within that first 100 characters bold.
  • Note the output is now shorter.

No non-technical user would expect this, their text is the same.

A patch was supplied in that issue, that can be a starting point.

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇳🇿New Zealand john pitcairn

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