Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
close DATA to prevent strange addendum in subsequent error messages
  • Loading branch information
jberger committed Aug 15, 2016
1 parent 70c177d commit 75b2b9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Mojo/Util.pm
Expand Up @@ -36,6 +36,7 @@ for my $line (split "\n", join('', <DATA>)) {
next unless $line =~ /^(\S+)\s+U\+(\S+)(?:\s+U\+(\S+))?/;
$ENTITIES{$1} = defined $3 ? (chr(hex $2) . chr(hex $3)) : chr(hex $2);
}
close DATA;

# Characters that should be escaped in XML
my %XML = (
Expand Down

0 comments on commit 75b2b9a

Please sign in to comment.