Skip to content

Commit 14481fc

Browse files
committed
Formatting tweak for symfony#1236
1 parent b62ceca commit 14481fc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

book/service_container.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,10 @@ looks up the value of each parameter and uses it in the service definition.
225225
.. note::
226226

227227
The percent sign inside a parameter or argument, as part of the string, must
228-
be escaped with another percent sign::
228+
be escaped with another percent sign:
229+
230+
.. code-block:: xml
231+
229232
<argument type="string">http://symfony.com/?foo=%%s&bar=%%d</argument>
230233
231234
The purpose of parameters is to feed information into services. Of course

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy