mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 03:46:39 +00:00
Tweak docs
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user