Tweak docs

This commit is contained in:
Fabien Potencier
2020-10-14 08:37:57 +02:00
parent 996f784c19
commit fa2f1ccdb4
+2 -2
View File
@@ -30,8 +30,8 @@ Truncating a string:
{{ 'Lorem ipsum'|u.truncate(8, '...') }}
Lorem...
New in Symfony 5.1, the ``truncate`` method also accepts a third argument to preserve whole words:
The ``truncate`` method also accepts a third argument to preserve whole words:
.. code-block:: twig