aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,
);
},