From d096809394013df674cb8b98aed6b17d47d949ac Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 23 Feb 2024 12:52:59 +0100 Subject: [PATCH] cd2nroff: gen: make `\>` in input to render as plain '>' in output The same (copy and pasted) fix/mistake as in gen.pl --- scripts/cd2nroff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cd2nroff b/scripts/cd2nroff index 02460cc9da..96d2a367d6 100755 --- a/scripts/cd2nroff +++ b/scripts/cd2nroff @@ -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;