From 12fa5bf83f78ff2efbafc0499e98028b81db71d4 Mon Sep 17 00:00:00 2001 From: Jim Paris Date: Tue, 16 Aug 2016 11:51:16 -0400 Subject: 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. --- Build/mdwn2man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3