aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 08:57:05 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 08:57:05 +0000
commitabef4bc25ae66399dfe500bfcea796d9f93c3016 (patch)
treecf2f690431b6484a50b2cd89603620a604f96d23
parent190dc220ec03679bca5ce96ecae7572d7d0ba74e (diff)
downloadrpmdrake-abef4bc25ae66399dfe500bfcea796d9f93c3016.tar
rpmdrake-abef4bc25ae66399dfe500bfcea796d9f93c3016.tar.gz
rpmdrake-abef4bc25ae66399dfe500bfcea796d9f93c3016.tar.bz2
rpmdrake-abef4bc25ae66399dfe500bfcea796d9f93c3016.tar.xz
rpmdrake-abef4bc25ae66399dfe500bfcea796d9f93c3016.zip
(format_header, format_field) ensure the string passed to Pango is valid
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 831f7455..e3d2a5b2 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -556,12 +556,12 @@ sub formatlistpkg { myformatList(sort { uc($a) cmp uc($b) } @_) }
sub format_header {
my ($str) = @_;
- '<big>' . $str . '</big>';
+ '<big>' . Glib::Markup::escape_text($str) . '</big>';
}
sub format_field {
my ($str) = @_;
- '<b>' . $str . '</b>';
+ '<b>' . Glib::Markup::escape_text($str) . '</b>';
}
sub format_pkg_simplifiedinfo {