View title not rendered as HTML

Created on 28 July 2022, over 2 years ago
Updated 17 January 2024, 10 months ago

Problem/Motivation

When setting the view title as foo & bar, it is then rendered as Actualités & événements.
It seems template_preprocess_eva_display_entity_view() expects the title to be plain text but it can be HTML.

Steps to reproduce

  1. Create an EVA view.
  2. Set the name as foo & bar.
  3. Display the view.

Proposed resolution

$variables['title'] should be a Markup object.

🐛 Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

🇫🇷France prudloff Lille

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