Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
better descriptions for HTML5 escaping functions and methods
  • Loading branch information
kraih committed Apr 23, 2012
1 parent 84d4639 commit a425223
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions lib/Mojo/ByteStream.pm
Expand Up @@ -194,13 +194,13 @@ Turn bytestream into HMAC-SHA1 checksum of old content.
$stream = $stream->html_escape;
HTML escape bytestream.
Escape all HTML5 named character entities in bytestream.
=head2 C<html_unescape>
$stream = $stream->html_unescape;
HTML unescape bytestream.
Unescape all HTML5 entities in bytestream.
=head2 C<md5_bytes>
Expand Down Expand Up @@ -318,8 +318,8 @@ URL unescape bytestream.
$stream = $stream->xml_escape;
XML escape bytestream, this is a much faster version of C<html_escape>
escaping only the characters C<&>, C<E<lt>>, C<E<gt>>, C<"> and C<'>.
Escape only the characters C<&>, C<E<lt>>, C<E<gt>>, C<"> and C<'> in
bytestream, this is a much faster version of C<html_escape>.
=head1 SEE ALSO
Expand Down
8 changes: 4 additions & 4 deletions lib/Mojo/Util.pm
Expand Up @@ -2837,13 +2837,13 @@ Generate HMAC-SHA1 checksum for string.
my $escaped = html_escape $string;
HTML escape string.
Escape all HTML5 named character entities in string.
=head2 C<html_unescape>
my $string = html_unescape $escaped;
HTML unescape string.
Unescape all HTML5 entities in string.
=head2 C<md5_bytes>
Expand Down Expand Up @@ -2934,8 +2934,8 @@ URL unescape string.
my $escaped = xml_escape $string;
XML escape string, this is a much faster version of C<html_escape> escaping
only the characters C<&>, C<E<lt>>, C<E<gt>>, C<"> and C<'>.
Escape only the characters C<&>, C<E<lt>>, C<E<gt>>, C<"> and C<'> in string,
this is a much faster version of C<html_escape>.
=head1 SEE ALSO
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/FAQ.pod
Expand Up @@ -114,7 +114,7 @@ response.

Hypnotoad worker processes send heartbeat messages to the manager process in
regular intervals to signal that they are still responsive. A blocking
operation such as an infinite loop in your application, can prevent this, and
operation such as an infinite loop in your application can prevent this, and
will force the affected worker to be restarted after a timeout. This
C<heartbeat_timeout> defaults to C<20> seconds and can be extended if your
application requires it.
Expand Down

0 comments on commit a425223

Please sign in to comment.