Twig Debug Breaks Chart Label in Views

Created on 20 November 2024, 3 days 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

Comments & Activities

Production build 0.71.5 2024