Skip to content
Browse files

Added a notice in the `nl2br` filter documentation about the proper T…

…wig version to use it
  • Loading branch information...
1 parent 99b2c5b commit 7194b1adaad92a16d6461c5a6fdfa42829df1dfe @javiereguiluz javiereguiluz committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 doc/filters/nl2br.rst
View
3 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

0 comments on commit 7194b1a

Please sign in to comment.
Something went wrong with that request. Please try again.