Skip to content

Commit aec5ca5

Browse files
committed
Fix a bug that using deprecated option values in Twig_Environment
1 parent f8dcca9 commit aec5ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Twig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function __construct($params = [])
9292
$this->config = [
9393
'cache' => APPPATH . 'cache/twig',
9494
'debug' => ENVIRONMENT !== 'production',
95-
'autoescape' => TRUE,
95+
'autoescape' => 'html',
9696
];
9797

9898
$this->config = array_merge($this->config, $params);

0 commit comments

Comments
 (0)