From a23fa62331d0ba128ca18e990c01a89b10c9b303 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 6 May 2013 14:15:40 +0200 Subject: [PATCH] Add UTF-8 in uppercase since it is so common --- lib/Twig/Extension/Core.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Twig/Extension/Core.php b/lib/Twig/Extension/Core.php index 8d984eb..36d7a9c 100644 --- a/lib/Twig/Extension/Core.php +++ b/lib/Twig/Extension/Core.php @@ -871,7 +871,7 @@ function twig_escape_filter(Twig_Environment $env, $string, $strategy = 'html', static $htmlspecialcharsCharsets = array( 'iso-8859-1' => true, 'iso8859-1' => true, 'iso-8859-15' => true, 'iso8859-15' => true, - 'utf-8' => true, + 'utf-8' => true, 'UTF-8' => true, 'cp866' => true, 'ibm866' => true, '866' => true, 'cp1251' => true, 'windows-1251' => true, 'win-1251' => true, '1251' => true, -- 1.7.2.5