mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-25 23:29:43 +00:00
updated CHANGELOG
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
* 2.0.0 (201X-XX-XX)
|
||||
|
||||
* made the loader a required argument of Twig_Environment constructor
|
||||
* removed Twig_Environment::clearTemplateCache()
|
||||
* removed Twig_Autoloader (use Composer instead)
|
||||
* removed `true` as an equivalent to `html` for the auto-escaping strategy
|
||||
|
||||
+1
-1
@@ -103,7 +103,7 @@ syntax. But for specific projects, it can make sense to change the defaults.
|
||||
|
||||
To change the block delimiters, you need to create your own lexer object::
|
||||
|
||||
$twig = new Twig_Environment();
|
||||
$twig = new Twig_Environment(...);
|
||||
|
||||
$lexer = new Twig_Lexer($twig, array(
|
||||
'tag_comment' => array('{#', '#}'),
|
||||
|
||||
Reference in New Issue
Block a user