diff options
author | 3D-I <marktravai@gmail.com> | 2018-12-24 11:56:30 +0100 |
---|---|---|
committer | 3D-I <marktravai@gmail.com> | 2018-12-24 12:00:36 +0100 |
commit | 440fdfdffcc36d1483d3a86f3fc7a152fb9d7a63 (patch) | |
tree | 5c7c8262bf7901d9b1900b0e17d22b941964caed /phpBB | |
parent | 8f90b794570e520eec82fc8c1f87ae5c93696873 (diff) | |
download | forums-440fdfdffcc36d1483d3a86f3fc7a152fb9d7a63.tar forums-440fdfdffcc36d1483d3a86f3fc7a152fb9d7a63.tar.gz forums-440fdfdffcc36d1483d3a86f3fc7a152fb9d7a63.tar.bz2 forums-440fdfdffcc36d1483d3a86f3fc7a152fb9d7a63.tar.xz forums-440fdfdffcc36d1483d3a86f3fc7a152fb9d7a63.zip |
[ticket/15918] Apply the Twig escape filter to not add-slashed contents
PHPBB3-15918
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/styles/prosilver/template/mcp_ban.html | 4 |
1 files 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 @@ <!-- BEGIN bans --> ban_length['{bans.BAN_ID}'] = '{{ bans.A_LENGTH }}'; <!-- IF bans.A_REASON --> - ban_reason['{bans.BAN_ID}'] = '{{ bans.A_REASON }}'; + ban_reason['{bans.BAN_ID}'] = '{{ bans.REASON | e('js') }}'; <!-- ENDIF --> <!-- IF bans.A_GIVE_REASON --> - ban_give_reason['{bans.BAN_ID}'] = '{{ bans.A_GIVE_REASON }}'; + ban_give_reason['{bans.BAN_ID}'] = '{{ bans.GIVE_REASON | e('js') }}'; <!-- ENDIF --> <!-- END bans --> |