diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-05-30 18:01:16 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-05-30 18:01:16 -0400 |
commit | 4045ee01e5295b08bf5b45a1434cd6743caeb18d (patch) | |
tree | 6180388749accfc18a9bff0ba0b1f8656c4eef0a /mdwn2man | |
parent | 878bfe008c4b3ed1f46e84e28de901ab8c336f75 (diff) |
improved period escape
Diffstat (limited to 'mdwn2man')
-rwxr-xr-x | mdwn2man | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |