improved period escape
parent
878bfe008c
commit
4045ee01e5
2
mdwn2man
2
mdwn2man
|
@ -9,7 +9,7 @@ print ".TH $prog $section\n";
|
||||||
while (<>) {
|
while (<>) {
|
||||||
s{(\\?)\[\[([^\s\|\]]+)(\|[^\s\]]+)?\]\]}{$1 ? "[[$2]]" : $2}eg;
|
s{(\\?)\[\[([^\s\|\]]+)(\|[^\s\]]+)?\]\]}{$1 ? "[[$2]]" : $2}eg;
|
||||||
s/\`//g;
|
s/\`//g;
|
||||||
s/^\./\\./g;
|
s/^\./\\&./g;
|
||||||
if (/^#\s/) {
|
if (/^#\s/) {
|
||||||
s/^#\s/.SH /;
|
s/^#\s/.SH /;
|
||||||
<>; # blank;
|
<>; # blank;
|
||||||
|
|
Loading…
Reference in New Issue