summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Jim Paris <jim@jtan.com>2016-08-16 11:51:16 -0400
committerGravatar Jim Paris <jim@jtan.com>2016-08-16 11:51:16 -0400
commit12fa5bf83f78ff2efbafc0499e98028b81db71d4 (patch)
tree3ddbc7dc4f50bab6abb67141e54c0b35ff2f6fa2 /Build
parent295ae05c8a9c06006076e333f7b3c0cd3b7ed01e (diff)
Don't escape leading dots in code blocks in manpage
The code block in git-annex-smudge(1) was misformatted. Code blocks start with tabs, so replace "\s" with " ". Tested to not affect anything except git-annex-smudge.1.
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/mdwn2man2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/mdwn2man b/Build/mdwn2man
index 09b684a07..d50c2a011 100755
--- a/Build/mdwn2man
+++ b/Build/mdwn2man
@@ -10,7 +10,7 @@ while (<>) {
s{(\\?)\[\[([^\s\|\]]+)(\|[^\s\]]+)?\]\]}{$1 ? "[[$2]]" : $2}eg;
s/\`([^\`]*)\`/\\fB$1\\fP/g;
s/\`//g;
- s/^\s*\./\\&./g;
+ s/^ *\./\\&./g;
if (/^#\s/) {
s/^#\s/.SH /;
<>; # blank;