diff --git a/src/Template/Template.php b/src/Template/Template.php index 5473c9e..4d2709e 100644 --- a/src/Template/Template.php +++ b/src/Template/Template.php @@ -361,7 +361,7 @@ public function escape($string, $functions = null) static $flags; if (!isset($flags)) { - $flags = ENT_QUOTES | (defined('ENT_SUBSTITUTE') ? ENT_SUBSTITUTE : 0); + $flags = ENT_QUOTES | ENT_SUBSTITUTE; } if ($functions) {