8000 Formatting tweak for #1236 · web-dev/symfony-docs@14481fc · GitHub
[go: up one dir, main page]

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)
0