Skip to content

Commit cc879cd

Browse files
committed
Merge pull request symfony#3361 from xabbuh/fix-build-errors-2.4
[Components][DomCrawler] adding XML code block
2 parents 7867615 + 2ebb4bf commit cc879cd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

components/dom_crawler.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,14 @@ explicitly.
106106

107107
Consider the XML below:
108108

109+
.. code-block:: xml
110+
109111
<?xml version="1.0" encoding="UTF-8"?>
110112
<entry
111-
xmlns="http://www.w3.org/2005/Atom"
112-
xmlns:media="http://search.yahoo.com/mrss/"
113-
xmlns:yt="http://gdata.youtube.com/schemas/2007">
113+
xmlns="http://www.w3.org/2005/Atom"
114+
xmlns:media="http://search.yahoo.com/mrss/"
115+
xmlns:yt="http://gdata.youtube.com/schemas/2007"
116+
>
114117
<id>tag:youtube.com,2008:video:kgZRZmEc9j4</id>
115118
<yt:accessControl action="comment" permission="allowed"/>
116119
<yt:accessControl action="videoRespond" permission="moderated"/>

0 commit comments

Comments
 (0)