8000 Adjust wording at Generating URLs · symfony/symfony-docs@f9dcc36 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit f9dcc36

Browse files
authored
Adjust wording at Generating URLs
At "Generating URLs in JavaScript" the Twig escape filter is called a escape function. However in context of Twig this is a filter and I guess it should use the right wording also in the Symfony docs.
1 parent 86b108f commit f9dcc36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2018,7 +2018,7 @@ Generating URLs in JavaScript
20182018

20192019
If your JavaScript code is included in a Twig template, you can use the
20202020
``path()`` and ``url()`` Twig functions to generate the URLs and store them in
2021-
JavaScript variables. The ``escape()`` function is needed to escape any
2021+
JavaScript variables. The ``escape()`` filter is needed to escape any
20222022
non-JavaScript-safe values:
20232023

20242024
.. code-block:: html+twig

0 commit comments

Comments
 (0)
0