Unbreak groff single quotes and backticks character replacements
This commit is contained in:
parent
0c1b140638
commit
ffad28696e
1 changed files with 3 additions and 0 deletions
|
|
@ -34,6 +34,9 @@ sub fmt {
|
||||||
".hy 0\n.de hy\n..\n"
|
".hy 0\n.de hy\n..\n"
|
||||||
# Emulate man-db's --nj option
|
# Emulate man-db's --nj option
|
||||||
.".na\n.de ad\n..\n"
|
.".na\n.de ad\n..\n"
|
||||||
|
# Unbreak some quotes, there's plenty of man pages that ("incorrectly") use these for code samples.
|
||||||
|
.".char ` \\`\n"
|
||||||
|
.".char ' \\[aq]\n"
|
||||||
.encode_utf8($input);
|
.encode_utf8($input);
|
||||||
|
|
||||||
my $groff = run_cmd \@cmd,
|
my $groff = run_cmd \@cmd,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue