aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-02 12:15:27 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-02 12:15:27 +0000
commit0512b35b71e01b4bf371c244f88b7c816bc470e7 (patch)
treecbada784f8deab86426f101df3b6e2f8d166539b
parent477d850ce0a450c413b5383b0ba8c471bd4ea240 (diff)
downloadrpmdrake-0512b35b71e01b4bf371c244f88b7c816bc470e7.tar
rpmdrake-0512b35b71e01b4bf371c244f88b7c816bc470e7.tar.gz
rpmdrake-0512b35b71e01b4bf371c244f88b7c816bc470e7.tar.bz2
rpmdrake-0512b35b71e01b4bf371c244f88b7c816bc470e7.tar.xz
rpmdrake-0512b35b71e01b4bf371c244f88b7c816bc470e7.zip
separate paragraphs when displaing READMEs (mga#4697)
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b10fea4b..159fc74f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- separate paragraphs when displaing READMEs (mga#4697)
+
Version 5.29 - 17 January 2012, Thierry Vignaud
- even better packages sorting in searches (x86_64 first)
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 98470f6a..baef2ea6 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -592,7 +592,7 @@ sub display_READMEs_if_needed {
clicked => sub {
interactive_msg(
N("Upgrade information about package %s", $Readmes{$fullname}),
- (join '' => formatAlaTeX(scalar cat_($fullname))),
+ (join '' => map { s/$/\n/smg; $_ } formatAlaTeX(scalar cat_($fullname))),
scroll => 1,
);
},