From 38ecb56df5cf022caec91b9d6d3769ffb5d3df0c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 4 Nov 2021 23:48:23 +0100 Subject: 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 24155569d8a Reported-by: Sergey Markelov Fixes https://github.com/curl/curl-www/issues/163 Closes #7962 --- docs/libcurl/curl_strequal.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/libcurl/curl_strequal.3') diff --git a/docs/libcurl/curl_strequal.3 b/docs/libcurl/curl_strequal.3 index 3d8f2d593..8fc6b9484 100644 --- a/docs/libcurl/curl_strequal.3 +++ b/docs/libcurl/curl_strequal.3 @@ -44,9 +44,9 @@ insensitive string comparison functions. These two work on all platforms. .SH EXAMPLE .nf if(curl_strequal(name, input)) - printf("Name and input matches\n"); + printf("Name and input matches\\n"); if(curl_strnequal(name, input, 5)) - printf("Name and input matches in the 5 first bytes\n"); + printf("Name and input matches in the 5 first bytes\\n"); .fi .SH AVAILABILITY These functions will be removed from the public libcurl API in a near -- cgit v1.2.1