From: Javier EguĂ­luz Date: Fri, 23 Dec 2011 09:26:49 +0000 (+0100) Subject: Added a notice in the `nl2br` filter documentation about the proper Twig version... X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=7194b1adaad92a16d6461c5a6fdfa42829df1dfe;p=web%2Fkonrad%2Ftwig.git Added a notice in the `nl2br` filter documentation about the proper Twig version to use it --- diff --git a/doc/filters/nl2br.rst b/doc/filters/nl2br.rst index 366ca83..694c672 100644 --- a/doc/filters/nl2br.rst +++ b/doc/filters/nl2br.rst @@ -1,6 +1,9 @@ ``nl2br`` ========= +.. versionadded:: 1.5 + The nl2br filter was added in Twig 1.5. + The ``nl2br`` filter inserts HTML line breaks before all newlines in a string: .. code-block:: jinja