mirror of
https://github.com/curl/curl.git
synced 2026-06-06 13:34:15 +03:00
verify-examples.pl: fail verification on unescaped backslash
- Check that all backslashes in EXAMPLE are properly escaped. eg manpage must always use `\\n` never `\n`. This is because the manpage requires we always double blackslash to show a single backslash. Prior to this change an erroneous single backslash would pass through and compile even though it would not show correctly in the manpage. Co-authored-by: Daniel Stenberg Ref: https://github.com/curl/curl/pull/12588 Closes https://github.com/curl/curl/pull/12589
This commit is contained in:
parent
e251e858b9
commit
aa2c2ab837
2 changed files with 16 additions and 4 deletions
2
.github/workflows/man-examples.yml
vendored
2
.github/workflows/man-examples.yml
vendored
|
|
@ -12,12 +12,14 @@ on:
|
|||
paths:
|
||||
- 'docs/libcurl/curl_*.3'
|
||||
- 'docs/libcurl/opts/*.3'
|
||||
- '.github/scripts/verify-examples.pl'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'docs/libcurl/curl_*.3'
|
||||
- 'docs/libcurl/opts/*.3'
|
||||
- '.github/scripts/verify-examples.pl'
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue