Merge branch '2.x' into 3.x

* 2.x:
  Fix typo
  Typo
This commit is contained in:
Fabien Potencier
2020-11-27 14:05:45 +01:00
+2 -2
View File
@@ -316,12 +316,12 @@ Twig comes bundled with the following extensions:
* *Twig\Extension\SandboxExtension*: Adds a sandbox mode to the default Twig
environment, making it safe to evaluate untrusted code.
* *Twig\Extension\ProfilerExtension*: Enabled the built-in Twig profiler.
* *Twig\Extension\ProfilerExtension*: Enables the built-in Twig profiler.
* *Twig\Extension\OptimizerExtension*: Optimizes the node tree before
compilation.
* *Twig\Extension\StringLoaderExtension*: Defined the ``template_from_string``
* *Twig\Extension\StringLoaderExtension*: Defines the ``template_from_string``
function to allow loading templates from string in a template.
The Core, Escaper, and Optimizer extensions are registered by default.