|
@@ -810,6 +810,13 @@ sub htmlentities
|
|
|
$str =~ s/\&/\&/g;
|
|
$str =~ s/\&/\&/g;
|
|
|
$str =~ s/\</\</g;
|
|
$str =~ s/\</\</g;
|
|
|
$str =~ s/\>/\>/g;
|
|
$str =~ s/\>/\>/g;
|
|
|
|
|
+ $str =~ s/ü/ü/g;
|
|
|
|
|
+ $str =~ s/ö/ö/g;
|
|
|
|
|
+ $str =~ s/ä/ä/g;
|
|
|
|
|
+ $str =~ s/ß/ß/g;
|
|
|
|
|
+ $str =~ s/å/å/g;
|
|
|
|
|
+ $str =~ s/æ/æ/g;
|
|
|
|
|
+ $str =~ s/ø/ø/g;
|
|
|
|
|
|
|
|
return $str;
|
|
return $str;
|
|
|
}
|
|
}
|
|
@@ -843,13 +850,7 @@ sub template_text
|
|
|
|
|
|
|
|
foreach my $key (sort keys %hash) {
|
|
foreach my $key (sort keys %hash) {
|
|
|
$text =~ s/\[:$key\]/$hash{$key}/;
|
|
$text =~ s/\[:$key\]/$hash{$key}/;
|
|
|
- $text =~ s/ü/ü/g;
|
|
|
|
|
- $text =~ s/ö/ö/g;
|
|
|
|
|
- $text =~ s/ä/ä/g;
|
|
|
|
|
- $text =~ s/ß/ß/g;
|
|
|
|
|
- $text =~ s/å/å/g;
|
|
|
|
|
- $text =~ s/æ/æ/g;
|
|
|
|
|
- $text =~ s/ø/ø/g;
|
|
|
|
|
|
|
+ $text = htmlentities($text);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return $text;
|
|
return $text;
|