man pages: fix backslash-n in examples

... to be proper backslash-backslash-n sequences to render nicely in man
and on website.

Follow-up to 24155569d8
Reported-by: Sergey Markelov

Fixes https://github.com/curl/curl-www/issues/163
Closes #7962
This commit is contained in:
Daniel Stenberg 2021-11-04 23:48:23 +01:00
parent 16b135cae9
commit 38ecb56df5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
20 changed files with 22 additions and 22 deletions

View file

@ -241,8 +241,8 @@ by the corresponding argument.
A '%' is written. No argument is converted.
.SH EXAMPLE
.nf
mprintf("My name is %s\n", name);
mprintf("Pi is almost %f\n", 25/8);
mprintf("My name is %s\\n", name);
mprintf("Pi is almost %f\\n", 25/8);
.fi
.SH AVAILABILITY
These functions will be removed from the public libcurl API in the future. Do