aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/javascript_vars.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-06-22 16:07:48 +0200
committerGravatar GitHub <noreply@github.com> 2018-06-22 16:07:48 +0200
commita66b995be7d187a208bf7f66ce4d83911ba5932f (patch)
tree87489cdd4591e175ef169de852e319fe3fa3c776 /app/views/helpers/javascript_vars.phtml
parent0dab4f8bce46d6a1d81b4b369e5beaa4d385813f (diff)
Explicit quotes decoding (#1947)
* Explicit quotes decoding * Explicit htmlspecialchars_decode and htmlspecialchars
Diffstat (limited to 'app/views/helpers/javascript_vars.phtml')
-rw-r--r--app/views/helpers/javascript_vars.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml
index 1b9b614d2..d7b3e4360 100644
--- a/app/views/helpers/javascript_vars.phtml
+++ b/app/views/helpers/javascript_vars.phtml
@@ -56,4 +56,4 @@ echo htmlspecialchars(json_encode(array(
'icons' => array(
'close' => _i('close'),
),
-), JSON_UNESCAPED_UNICODE), ENT_NOQUOTES);
+), JSON_UNESCAPED_UNICODE), ENT_NOQUOTES, 'UTF-8');