mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 04:16:28 +00:00
removed whitespaces in docs
This commit is contained in:
+2
-2
@@ -6,9 +6,9 @@ The ``abs`` filter returns the absolute value.
|
||||
.. code-block:: jinja
|
||||
|
||||
{# number = -5 #}
|
||||
|
||||
|
||||
{{ number|abs }}
|
||||
|
||||
|
||||
{# outputs 5 #}
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -14,7 +14,7 @@ or an array as query string:
|
||||
|
||||
{{ "string with spaces"|url_encode(true) }}
|
||||
{# outputs "string%20with%20spaces" #}
|
||||
|
||||
|
||||
{{ {'param': 'value', 'foo': 'bar'}|url_encode }}
|
||||
{# outputs "param=value&foo=bar" #}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user