Wrapper classes field should not be converted in the way currently implemented

Created on 24 February 2022, about 3 years ago
Updated 31 August 2023, over 1 year ago

Problem statement

String supplied for Wrapper classes field should not be converted in the way currently implemented. The help text "Separate classes with DOUBLE SPACES. Single spaces and much else will be converted to valid class name." will thus be removed. This "black box" approach gives rise to uncertainty for the website developer, e.g. what does "much else" mean?

Steps to reproduce

1) Add wrapper classes as "class-1 class-2"
2) Note that this is rendered as "class-1-class-2"
3) This is wrong.

Proposed resolution

Render the string entered in the "Wrapper classes" field as given, perhaps sanitized to remove possible security issues.

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States chuck_theobald

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024