Skip to content

Commit

Permalink
mention that Mojo::DOM also generates HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 4, 2014
1 parent a453d84 commit f23d503
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/DOM.pm
Expand Up @@ -557,7 +557,7 @@ All selectors from L<Mojo::DOM::CSS/"SELECTORS"> are supported.
my $xml = $dom->content_xml;
Render content of this element to XML.
Render content of this element to HTML/XML.
# "<b>test</b>"
$dom->parse('<div><b>test</b></div>')->div->content_xml;
Expand Down Expand Up @@ -787,7 +787,7 @@ trimming is enabled by default.
my $xml = $dom->to_xml;
Render this element and its content to XML.
Render this element and its content to HTML/XML.
# "<b>test</b>"
$dom->parse('<div><b>test</b></div>')->div->b->to_xml;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/DOM/HTML.pm
Expand Up @@ -351,7 +351,7 @@ Parse HTML/XML fragment.
my $xml = $html->render;
Render DOM to XML.
Render DOM to HTML/XML.
=head1 SEE ALSO
Expand Down

0 comments on commit f23d503

Please sign in to comment.