mirror of
https://github.com/curl/curl.git
synced 2026-07-26 09:07:16 +03:00
badwords: re-sync with curl-www, fix issues found
Also: - replace `manpage` with `man page`, add to `badwords.txt`. - badwords.pl: import `-w` feature from curl-www, syncing the two scripts fully. - badwords.txt: import missing items from curl-www, syncing the two files fully. - pyspelling.words: drop `cURL` allowed word. Closes #19468
This commit is contained in:
parent
ebc5fea64d
commit
4841e4290d
27 changed files with 109 additions and 78 deletions
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
=begin comment
|
||||
|
||||
Converts a curldown file to nroff (manpage).
|
||||
Converts a curldown file to nroff (man page).
|
||||
|
||||
=end comment
|
||||
=cut
|
||||
|
|
@ -431,7 +431,7 @@ sub single {
|
|||
# convert backslash-'<' or '> to just the second character
|
||||
$d =~ s/\\([<>])/$1/g;
|
||||
|
||||
# mentions of curl symbols with manpages use italics by default
|
||||
# mentions of curl symbols with man pages use italics by default
|
||||
$d =~ s/((lib|)curl([^ ]*\(3\)))/\\fI$1\\fP/gi;
|
||||
|
||||
# backticked becomes italics
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue