diff --git a/lib/ManUtils/ManUtils.pm b/lib/ManUtils/ManUtils.pm index 0502f39..3501b9a 100644 --- a/lib/ManUtils/ManUtils.pm +++ b/lib/ManUtils/ManUtils.pm @@ -34,6 +34,9 @@ sub fmt { ".hy 0\n.de hy\n..\n" # Emulate man-db's --nj option .".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); my $groff = run_cmd \@cmd,