summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rwxr-xr-xmdwn2man2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 4b8fb1050..323cd2e75 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
git-annex (0.12) UNRELEASED; urgency=low
* Add --exclude option to exclude files from processing.
+ * mwdn2man: Fix a bug in newline supression. Closes: #606578
-- Joey Hess <joeyh@debian.org> Wed, 08 Dec 2010 14:06:47 -0400
diff --git a/mdwn2man b/mdwn2man
index c21253945..ad6d3c602 100755
--- a/mdwn2man
+++ b/mdwn2man
@@ -14,7 +14,7 @@ while (<>) {
s/^#\s/.SH /;
<>; # blank;
}
- s/^ +//;
+ s/^[ \n]+//;
s/^\t/ /;
s/-/\\-/g;
s/^Warning:.*//g;