Skip to content

Commit 41cfa20

Browse files
Update and rename example_wrap_unwrap.php to examples/example_wrap_unwrap.php
1 parent 175d6e9 commit 41cfa20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</div>
1515
');
1616

17-
// queries all divs and unwraps them
17+
// queries all uls inside divs and unwraps them
1818
$doc->query("div ul")->unwrap();
1919
$doc->query("ul")->wrap('<section class="bookshelf"></section>');
2020

@@ -55,4 +55,4 @@
5555
$doc->query("table.data tr td[3]::text")->wrap('<span style="color: green; font-weight: bold;"></span>');
5656
$doc->query("table.data tr td[4]::text")->wrap('<span style="color: orange; font-weight: bold;"></span>');
5757

58-
$doc->output();
58+
$doc->output();

0 commit comments

Comments
 (0)