diff options
author | Kurt Zenker <kz@openoffice.org> | 2009-12-03 16:39:31 +0100 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2009-12-03 16:39:31 +0100 |
commit | 9d8fd9b6b6bdcfa4ec43858b04b28ea0829c1bca (patch) | |
tree | 911eb7f5ecfd583f54377129d930e9cf8d8c78b4 | |
parent | 2ad4d24cb67d91dc037c31fd23b57f889e3e3fc5 (diff) |
masterfix: #i107239# fix for Java GUI installer
-rw-r--r-- | solenv/bin/modules/installer/xpdinstaller.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/bin/modules/installer/xpdinstaller.pm b/solenv/bin/modules/installer/xpdinstaller.pm index f18853dbdcdd..2814927c40f9 100644 --- a/solenv/bin/modules/installer/xpdinstaller.pm +++ b/solenv/bin/modules/installer/xpdinstaller.pm @@ -31,6 +31,7 @@ package installer::xpdinstaller; use Cwd; +use HTML::Entities; use installer::converter; use installer::exiter; use installer::globals; @@ -506,6 +507,7 @@ sub collect_lang_values if ( $write_line ) { my $value = $module->{$key}; + $value = HTML::Entities::encode($value); $value = replace_javaencoding_in_string($value); my $line = $indent . "<" . $saveentry . " lang=" . "\"" . $javalanguage . "\"" . ">" . $value . "<\/" . $saveentry . ">" . "\n"; push(@{$xpdfile}, $line); |