Fix invocation of groff 1.22.3 to pass on -P-c
Because, without that argument, groff (invoking grotty) will output SGR escape sequences, which we're not ready to deal with.
This commit is contained in:
parent
99628559ed
commit
b36ff90c6e
1 changed files with 3 additions and 0 deletions
|
|
@ -67,6 +67,9 @@ sub fmt {
|
|||
push @$errors, "grog detected several macro packages: $double. Using $macros. (@cmd)";
|
||||
}
|
||||
|
||||
# grog 1.22.3 somehow loses the -P-c argument, let's make sure it's in the list.
|
||||
splice @cmd, 1, 0, '-P-c';
|
||||
|
||||
my $groff = run_cmd \@cmd,
|
||||
'<' => \$input,
|
||||
'>' => \my $fmt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue