Skip to content

Commit

Permalink
better description for contents
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 3, 2014
1 parent 355ea88 commit a6dc994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/DOM.pm
Expand Up @@ -552,8 +552,8 @@ Render content of this element to XML.
my $collection = $dom->contents;
Return a L<Mojo::Collection> object containing the children of this element as
L<Mojo::DOM> and L<Mojo::DOM::Node> objects.
Return a L<Mojo::Collection> object containing the child nodes of this element
as L<Mojo::DOM> and L<Mojo::DOM::Node> objects.
"<p><b>123</b></p>"
$dom->parse('<p>test<b>123</b></p>')->at('p')->contents->first->remove;
Expand Down

0 comments on commit a6dc994

Please sign in to comment.