Find a way to make views_delimited_list work when twig debugging is turned on

Created on 25 January 2025, 2 months ago

Problem/Motivation

Speaking with @mortona2k in Slack about πŸ› Apply spaceless to templates to remove whitespaces RTBC , I remembered that enabling Twig debugging adds HTML comments which adds extra whitespace.

In !7, @mortona2k came up with a CSS way to collapse the whitespace in the module output, which works well to make the module work with Twig debugging enabled.

Proposed resolution

See if it's possible to use @mortona2k's code in !7 as a fall-back when Twig debugging is enabled. It would be great to only use this fall-back approach on-demand (i.e.: we should add a configuration setting to this module).

Remaining tasks

  1. Write a patch
  2. Review and feedback
  3. RTBC and feedback
  4. Commit
  5. Release

User interface changes

To be determined.

API changes

To be determined.

Data model changes

To be determined.

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada mparker17 UTC-4

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

Comments & Activities

Production build 0.71.5 2024