cd2nroff: stricter checks for asterisks for italics
No binary (build failed)
—
(log yok)
| @@ -33,7 +33,7 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CERTINFO, | |
| # DESCRIPTION | |
| - | Pass a pointer to a *struct curl_certinfo ** and it is set to point to a |
| + | Pass a pointer to a `struct curl_certinfo *` and it is set to point to a |
| struct that holds info about the server's certificate chain, assuming you had | |
| CURLOPT_CERTINFO(3) enabled when the request was made. | |
| @@ -421,7 +421,7 @@ sub single { | |
| # **bold** | |
| $d =~ s/\*\*(\S.*?)\*\*/\\fB$1\\fP/g; | |
| # *italics* | |
| - | $d =~ s/\*(\S.*?)\*/\\fI$1\\fP/g; |
| + | $d =~ s/\*(\w.*?[\w)])\*/\\fI$1\\fP/g; |
| my $back = $d; | |