cd2nroff: gen: make \> in input to render as plain '>' in output

The same (copy and pasted) fix/mistake as in gen.pl
This commit is contained in:
Daniel Stenberg 2024-02-23 12:52:59 +01:00
parent 8d4ff40d7b
commit d096809394
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -255,7 +255,7 @@ sub single {
print STDERR "$f:$line:1:WARN: un-escaped < or > used\n";
}
# convert backslash-'<' or '> to just the second character
$d =~ s/\\([<<])/$1/g;
$d =~ s/\\([<>])/$1/g;
# mentions of curl symbols with man pages use italics by default
$d =~ s/((lib|)curl([^ ]*\(3\)))/\\fI$1\\fP/gi;