Twig Debug Breaks Chart Label in Views

Created on 20 November 2024, about 1 month ago

This is similar to #3129130: Chart Views Breaking with Twig Debug Enabled β†’ , but specifically for the label when it is decoded.

With twig debug enabled, and a chart displaying as a pie chart, labels will often just appear as ellipses in the legend as they contain multiple line breaks after having their tags stripped out. Simply trimming the label after stripping the tags fixes this issue.

πŸ› Bug report
Status

Active

Version

5.1

Component

Views integration

Created by

πŸ‡¨πŸ‡¦Canada johnjw59@gmail.com

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