projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
99b2c5b
)
Added a notice in the `nl2br` filter documentation about the proper Twig version...
author
Javier Eguíluz
<javier.eguiluz@gmail.com>
Fri, 23 Dec 2011 09:26:49 +0000 (10:26 +0100)
committer
Javier Eguíluz
<javier.eguiluz@gmail.com>
Fri, 23 Dec 2011 09:26:49 +0000 (10:26 +0100)
doc/filters/nl2br.rst
patch
|
blob
|
history
diff --git
a/doc/filters/nl2br.rst
b/doc/filters/nl2br.rst
index
366ca83
..
694c672
100644
(file)
--- 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