Skip to content

Commit

Permalink
fixed content example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 12, 2014
1 parent 9ef5ac4 commit 534d463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/DOM.pm
Expand Up @@ -625,7 +625,7 @@ Render this node's content to HTML/XML or replace it with HTML/XML fragment.
# "<div><h1></h1></div>"
$dom->parse('<div><h1>A</h1></div>')->at('h1')->content('')->root;
# "A"
# " A "
$dom->parse('<!-- A --><br>')->contents->first->content;
# "<!-- B --><br>"
Expand Down

0 comments on commit 534d463

Please sign in to comment.