mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-18 05:16:30 +00:00
Add UTF-8 in uppercase since it is so common
This commit is contained in:
@@ -871,7 +871,7 @@ function twig_escape_filter(Twig_Environment $env, $string, $strategy = 'html',
|
|||||||
static $htmlspecialcharsCharsets = array(
|
static $htmlspecialcharsCharsets = array(
|
||||||
'iso-8859-1' => true, 'iso8859-1' => true,
|
'iso-8859-1' => true, 'iso8859-1' => true,
|
||||||
'iso-8859-15' => true, 'iso8859-15' => true,
|
'iso-8859-15' => true, 'iso8859-15' => true,
|
||||||
'utf-8' => true,
|
'utf-8' => true, 'UTF-8' => true,
|
||||||
'cp866' => true, 'ibm866' => true, '866' => true,
|
'cp866' => true, 'ibm866' => true, '866' => true,
|
||||||
'cp1251' => true, 'windows-1251' => true, 'win-1251' => true,
|
'cp1251' => true, 'windows-1251' => true, 'win-1251' => true,
|
||||||
'1251' => true,
|
'1251' => true,
|
||||||
|
|||||||
Reference in New Issue
Block a user