cd2nroff: do not insist on quoted <> within backticks
Ref: #16118 Closes #16121
This commit is contained in:
parent
4519a9c887
commit
b0009d0216
@ -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…
Reference in New Issue
Block a user