From: Armin Ronacher Date: Tue, 10 Jun 2014 20:34:12 +0000 (+0100) Subject: Merge pull request #230 from p1otr/master X-Git-Tag: 2.8~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c97fa109d38b5367ce3efffb6e435d007dc55920;p=thirdparty%2Fjinja.git Merge pull request #230 from p1otr/master documentation typos --- c97fa109d38b5367ce3efffb6e435d007dc55920 diff --cc docs/extensions.rst index 7f55400b,d3961cf0..2d9493f0 --- a/docs/extensions.rst +++ b/docs/extensions.rst @@@ -213,10 -213,10 +213,10 @@@ Writing Extension .. module:: jinja2.ext - By writing extensions you can add custom tags to Jinja2. This is a non trival + By writing extensions you can add custom tags to Jinja2. This is a non-trivial task and usually not needed as the default tags and expressions cover all common use cases. The i18n extension is a good example of why extensions are -useful, another one would be fragment caching. +useful. Another one would be fragment caching. When writing extensions you have to keep in mind that you are working with the Jinja2 template compiler which does not validate the node tree you are passing