[SCM] Debian package checker branch, master, updated. 2.2.6-65-g69bc0fc
The following commit has been merged in the master branch:
commit 79576b5484250ecea29e99f7aba0c8e64dd7aecf
Author: Russ Allbery <rra@debian.org>
Date: Sun Mar 8 17:06:45 2009 -0700
Strip leading whitespace when reading tag descriptions
* lib/Lintian/Tag/Info.pm:
+ [RA] Strip leading whitespace from continued lines.
diff --git a/debian/changelog b/debian/changelog
index 2ed6203..d70ef4e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -142,6 +142,8 @@ lintian (2.2.7) UNRELEASED; urgency=low
final argument of '&'. Allow reap() to take multiple opt hashes and
reap all of them in a loop. Add a kill() function to kill
outstanding jobs. Patch from Raphael Geissert.
+ * lib/Lintian/Tag/Info.pm:
+ + [RA] Strip leading whitespace from continued lines.
* private/refresh-archs:
+ [RA] Script from Raphael Geissert to refresh known architectures.
diff --git a/lib/Lintian/Tag/Info.pm b/lib/Lintian/Tag/Info.pm
index 5d358df..f4f198e 100644
--- a/lib/Lintian/Tag/Info.pm
+++ b/lib/Lintian/Tag/Info.pm
@@ -234,7 +234,9 @@ sub description {
}
# Build the tag description.
- my @text = split_paragraphs($self->{info});
+ my $info = $self->{info};
+ $info =~ s/\n[ \t]/\n/g;
+ my @text = split_paragraphs($info);
if ($self->{ref}) {
push(@text, '', _format_reference($self->{ref}));
}
--
Debian package checker
Reply to: