Skip to content

Commit

Permalink
mention which Mojo::DOM methods use the charset
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 4, 2013
1 parent 61b3191 commit 1c342f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/Mojo/DOM.pm
Expand Up @@ -511,7 +511,8 @@ Element attributes.
my $charset = $dom->charset;
$dom = $dom->charset('UTF-8');
Charset used for decoding and encoding HTML/XML.
Charset used by C<parse>, C<content_xml> and C<to_xml> for decoding and
encoding HTML/XML.
=head2 children
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/DOM/HTML.pm
Expand Up @@ -359,7 +359,7 @@ L<Mojo::DOM::HTML> implements the following attributes.
my $charset = $html->charset;
$html = $html->charset('UTF-8');
Charset used for decoding and encoding HTML/XML.
Charset used by C<parse> and C<render> for decoding and encoding HTML/XML.
=head2 tree
Expand Down

0 comments on commit 1c342f9

Please sign in to comment.