From 6d329262d7ed233ac90375d21ea26e364b203bb9 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Fri, 28 Jun 2024 11:46:17 -0600 Subject: [PATCH] PR feedback: escape the whole string, not just spName --- modules/material/themes/material/default/selectidp-links.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/material/themes/material/default/selectidp-links.twig b/modules/material/themes/material/default/selectidp-links.twig index 7915c60..fb69cf8 100644 --- a/modules/material/themes/material/default/selectidp-links.twig +++ b/modules/material/themes/material/default/selectidp-links.twig @@ -31,7 +31,7 @@ {% if spName ?? '' is empty %} {{ '{selectidp-links:header}'|trans }} {% else %} - {{ '{selectidp-links:header-for-sp}'|trans({'%spName%': spName|e}) }} + {{ '{selectidp-links:header-for-sp}'|trans({'%spName%': spName})|e }} {% endif %}