diff --git a/web-lib-funcs.pl b/web-lib-funcs.pl index 83d4ac01d..63b9e7ffa 100755 --- a/web-lib-funcs.pl +++ b/web-lib-funcs.pl @@ -284,6 +284,10 @@ $str =~ s/"/"/g; $str =~ s/'/'/g; $str =~ s/=/=/g; $str =~ s/ / /g; +eval "use HTML::Entities"; +if (!$@) { + $str = decode_entities($str); + } return $str; }