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.

Issue fork eva-3300521

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

prudloff created an issue. See original summary.

prudloff’s picture

Status: Active » Needs review
prem suthar’s picture

#3 Merge Request Is working fine for me So you can move to RTBC.

prudloff’s picture

Status: Needs review » Reviewed & tested by the community
ahebrank’s picture

Version: 8.x-2.1 » 3.0.x-dev
Status: Reviewed & tested by the community » Needs work

Can you please update MR to apply to 3.0.x?

prudloff’s picture

Status: Needs work » Needs review
ahebrank’s picture

Status: Needs review » Needs work

Sorry, current dev branch is 3.1.x now. It'll need to be rebased.

ahebrank’s picture

Version: 3.0.x-dev » 3.1.x-dev

vitaliyb98 made their first commit to this issue’s fork.

vitaliyb98 changed the visibility of the branch 3300521-view-title-not to hidden.

vitaliyb98’s picture

Status: Needs work » Needs review

Hi, I created a new branch based on 3.1.x, moved the changes there, tested the fix, and added a functional test.

ahebrank’s picture

Status: Needs review » Fixed

LGTM, thanks for updating.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.