summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-12-10 17:27:02 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-12-10 17:27:02 -0400
commitcdf040e81656b5e8034e4fd2d5e0583c367dff12 (patch)
treed02073474fe27bf000045977e08236b808ef7866
parent1f22c9ea38b85b2e3e4d25bb56887e55e1c51f40 (diff)
mwdn2man: Fix a bug in newline supression. Closes: #606578
-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;