From f9601c91bb3de6dad460b45fe5cbbd35e719e865 Mon Sep 17 00:00:00 2001 From: Raphael Boidol Date: Sun, 1 May 2016 14:11:26 +0200 Subject: [PATCH] Use constant name in doc (fixes #544) --- jinja2/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jinja2/environment.py b/jinja2/environment.py index 9c6e4d46..8b37ef8f 100644 --- a/jinja2/environment.py +++ b/jinja2/environment.py @@ -179,7 +179,7 @@ class Environment(object): `None` implicitly into an empty string here. `autoescape` - If set to true the XML/HTML autoescaping feature is enabled by + If set to `True` the XML/HTML autoescaping feature is enabled by default. For more details about autoescaping see :class:`~jinja2.utils.Markup`. As of Jinja 2.4 this can also be a callable that is passed the template name and has to -- 2.47.2