aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 09:08:54 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 09:08:54 +0000
commitdf5359a61c1b2f84e343f028bbc6d6c7433e5f4f (patch)
treecf95a3ec0f8d2bed901ee0ccac007dc9b5a9e23f
parent1731438b38326910ee89546b78b150bbc67a28ea (diff)
downloadrpmdrake-df5359a61c1b2f84e343f028bbc6d6c7433e5f4f.tar
rpmdrake-df5359a61c1b2f84e343f028bbc6d6c7433e5f4f.tar.gz
rpmdrake-df5359a61c1b2f84e343f028bbc6d6c7433e5f4f.tar.bz2
rpmdrake-df5359a61c1b2f84e343f028bbc6d6c7433e5f4f.tar.xz
rpmdrake-df5359a61c1b2f84e343f028bbc6d6c7433e5f4f.zip
(format_pkg_simplifiedinfo) protect other fields btw
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 51c84adf..7263477d 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -573,8 +573,8 @@ sub format_pkg_simplifiedinfo {
ugtk2::markup_to_TextView_format(join("\n", format_header($name . ' - ' . $pkgs->{$key}{summary}),
if_(
$MODE eq 'update',
- format_field(N("Importance: ")) . $descriptions->{$name}{importance},
- format_field(N("Reason for update: ")) . rpm_description($descriptions->{$name}{pre}),
+ format_field(N("Importance: ")) . Glib::Markup::escape_text($descriptions->{$name}{importance}),
+ format_field(N("Reason for update: ")) . Glib::Markup::escape_text(rpm_description($descriptions->{$name}{pre})),
),
'', # extra empty line
(Glib::Markup::escape_text($pkgs->{$key}{description} || $descriptions->{$name}{description}) || '<i>' . N("No description") . '</i>'),