From 440fdfdffcc36d1483d3a86f3fc7a152fb9d7a63 Mon Sep 17 00:00:00 2001 From: 3D-I Date: Mon, 24 Dec 2018 11:56:30 +0100 Subject: [PATCH] [ticket/15918] Apply the Twig escape filter to not add-slashed contents PHPBB3-15918 --- phpBB/styles/prosilver/template/mcp_ban.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/styles/prosilver/template/mcp_ban.html b/phpBB/styles/prosilver/template/mcp_ban.html index f3b767f3e4..86a322435d 100644 --- a/phpBB/styles/prosilver/template/mcp_ban.html +++ b/phpBB/styles/prosilver/template/mcp_ban.html @@ -11,10 +11,10 @@ ban_length['{bans.BAN_ID}'] = '{{ bans.A_LENGTH }}'; - ban_reason['{bans.BAN_ID}'] = '{{ bans.A_REASON }}'; + ban_reason['{bans.BAN_ID}'] = '{{ bans.REASON | e('js') }}'; - ban_give_reason['{bans.BAN_ID}'] = '{{ bans.A_GIVE_REASON }}'; + ban_give_reason['{bans.BAN_ID}'] = '{{ bans.GIVE_REASON | e('js') }}';