8000 minor #14444 Adjust wording at Generating URLs (reneroboter) · symfony/symfony-docs@bf01eff · GitHub
[go: up one dir, main page]

Skip to content

Commit bf01eff

Browse files
committed
minor #14444 Adjust wording at Generating URLs (reneroboter)
This PR was submitted for the 5.1 branch but it was merged into the 4.4 branch instead. Discussion ---------- 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. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 6662660 Adjust wording at Generating URLs
2 parents 1392fbb + 6662660 commit bf01eff

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