mirror of
https://github.com/curl/curl.git
synced 2026-05-30 04:27:30 +03:00
cd2nroff: do not insist on quoted <> within backticks
Ref: #16118 Closes #16121
This commit is contained in:
parent
4519a9c887
commit
b0009d0216
1 changed files with 6 additions and 1 deletions
|
|
@ -419,7 +419,12 @@ sub single {
|
|||
# *italics*
|
||||
$d =~ s/\*(\S.*?)\*/\\fI$1\\fP/g;
|
||||
|
||||
if($d =~ /[^\\][\<\>]/) {
|
||||
my $back = $d;
|
||||
|
||||
# remove all backticked pieces
|
||||
$back =~ s/\`(.*?)\`//g;
|
||||
|
||||
if($back =~ /[^\\][\<\>]/) {
|
||||
print STDERR "$f:$line:1:ERROR: un-escaped < or > used\n";
|
||||
$errors++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue