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

Skip to content

Commit 6662660

Browse files
reneroboterwouterj
authored andcommitted
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 1392fbb commit 6662660

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
@@ -1917,7 +1917,7 @@ Generating URLs in JavaScript
19171917

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

19231923
.. code-block:: html+twig

0 commit comments

Comments
 (0)
0