mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-07 07:57:01 +00:00
Mention autoescape=true deprecation (issue #2386)
This commit is contained in:
committed by
Fabien Potencier
parent
a1c1f01eac
commit
70d03042df
@@ -206,6 +206,9 @@ Miscellaneous
|
||||
``Twig_TemplateInterface::getEnvironment()`` are deprecated and will be
|
||||
removed in 2.0.
|
||||
|
||||
* As of Twig 1.21, setting the environment option ``autoescape`` to ``true`` is
|
||||
deprecated and will be removed in 2.0. Set ``"html"`` explicitly instead.
|
||||
|
||||
* As of Twig 1.27, ``Twig_Error::getTemplateFile()`` and
|
||||
``Twig_Error::setTemplateFile()`` are deprecated. Use
|
||||
``Twig_Error::getTemplateName()`` and ``Twig_Error::setTemplateName()``
|
||||
|
||||
Reference in New Issue
Block a user