From 8f90b794570e520eec82fc8c1f87ae5c93696873 Mon Sep 17 00:00:00 2001 From: 3D-I Date: Mon, 24 Dec 2018 09:45:02 +0100 Subject: [PATCH] [ticket/15918] Remove redundant escape JS In mcp_ban.html and coherently use twig syntax PHPBB3-15918 --- phpBB/styles/prosilver/template/mcp_ban.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/styles/prosilver/template/mcp_ban.html b/phpBB/styles/prosilver/template/mcp_ban.html index d953f1039f..f3b767f3e4 100644 --- a/phpBB/styles/prosilver/template/mcp_ban.html +++ b/phpBB/styles/prosilver/template/mcp_ban.html @@ -9,12 +9,12 @@ ban_give_reason[-1] = ''; - ban_length['{bans.BAN_ID}'] = '{bans.A_LENGTH}'; + ban_length['{bans.BAN_ID}'] = '{{ bans.A_LENGTH }}'; - ban_reason['{bans.BAN_ID}'] = '{{ bans.A_REASON | e('js') }}'; + ban_reason['{bans.BAN_ID}'] = '{{ bans.A_REASON }}'; - ban_give_reason['{bans.BAN_ID}'] = '{{ bans.A_GIVE_REASON | e('js') }}'; + ban_give_reason['{bans.BAN_ID}'] = '{{ bans.A_GIVE_REASON }}';