fix escaping of indented dot
parent
edec9514f4
commit
0daa7a122f
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/^\s*\./\\&./g;
|
||||||
if (/^#\s/) {
|
if (/^#\s/) {
|
||||||
s/^#\s/.SH /;
|
s/^#\s/.SH /;
|
||||||
<>; # blank;
|
<>; # blank;
|
||||||
|
|
Loading…
Reference in New Issue