aboutsummaryrefslogtreecommitdiff
path: root/mdwn2man
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-30 18:01:16 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-30 18:01:16 -0400
commit4045ee01e5295b08bf5b45a1434cd6743caeb18d (patch)
tree6180388749accfc18a9bff0ba0b1f8656c4eef0a /mdwn2man
parent878bfe008c4b3ed1f46e84e28de901ab8c336f75 (diff)
downloadikiwiki-4045ee01e5295b08bf5b45a1434cd6743caeb18d.tar
ikiwiki-4045ee01e5295b08bf5b45a1434cd6743caeb18d.tar.gz
improved period escape
Diffstat (limited to 'mdwn2man')
-rwxr-xr-xmdwn2man2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdwn2man b/mdwn2man
index 420cd4ef3..e4ba5aadf 100755
--- a/mdwn2man
+++ b/mdwn2man
@@ -9,7 +9,7 @@ print ".TH $prog $section\n";
while (<>) {
s{(\\?)\[\[([^\s\|\]]+)(\|[^\s\]]+)?\]\]}{$1 ? "[[$2]]" : $2}eg;
s/\`//g;
- s/^\./\\./g;
+ s/^\./\\&./g;
if (/^#\s/) {
s/^#\s/.SH /;
<>; # blank;