Forgot to wrap cast, damnit.
This commit is contained in:
parent
bf2722129b
commit
87001315b1
2
Block.pm
2
Block.pm
@ -148,7 +148,7 @@ sub validate_string {
|
||||
$text = encode_entities($text);
|
||||
|
||||
# Convert horrible smart quote crap from windows
|
||||
foreach my $char (keys(%$self -> {"template"} ->{"entities"})) {
|
||||
foreach my $char (keys(%{$self -> {"template"} ->{"entities"}})) {
|
||||
$text =~ s/$char/$self->{template}->{entities}->{$char}/g;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user