Skip to content

Commit

Permalink
Add missing semicolon from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusramberg committed Feb 23, 2013
1 parent eebfd15 commit 2c437eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Mojo/Util.pm
Expand Up @@ -124,7 +124,8 @@ sub hmac_sha1_sum { _hmac(\&sha1, @_) }
# DEPRECATED in Rainbow!
sub html_escape {
deprecated "Mojo::Util->html_escape is DEPRECATED "
. "in favor of Mojo::Util->xml_escape!!!" my ($string, $pattern) = @_;
. "in favor of Mojo::Util->xml_escape!!!";
my ($string, $pattern) = @_;
$pattern ||= '^\n\r\t !#$%(-;=?-~';
return $string unless $string =~ /[^$pattern]/;
$string =~ s/([$pattern])/_encode($1)/ge;
Expand Down

0 comments on commit 2c437eb

Please sign in to comment.