* [PATCH libnetfilter_queue] build: doc: Fix rendering of verbatim '\n"' in man pages
@ 2021-09-05 2:45 Duncan Roe
2021-09-06 10:05 ` Pablo Neira Ayuso
0 siblings, 1 reply; 3+ messages in thread
From: Duncan Roe @ 2021-09-05 2:45 UTC (permalink / raw)
To: pablo; +Cc: netfilter-devel
Without this patch, '\n"' rendered as '0' in e.g. man nfq_create_queue
Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
---
doxygen/build_man.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doxygen/build_man.sh b/doxygen/build_man.sh
index e0cda71..96c97d5 100755
--- a/doxygen/build_man.sh
+++ b/doxygen/build_man.sh
@@ -69,6 +69,10 @@ post_process(){
del_empty_det_desc
del_def_at_lines
fix_double_blanks
+
+ # Fix rendering of verbatim "\n" (in code snippets)
+ sed -i 's/\\n/\\\\n/' $target
+
done
remove_temp_files
--
2.17.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH libnetfilter_queue] build: doc: Fix rendering of verbatim '\n"' in man pages
2021-09-05 2:45 [PATCH libnetfilter_queue] build: doc: Fix rendering of verbatim '\n"' in man pages Duncan Roe
@ 2021-09-06 10:05 ` Pablo Neira Ayuso
0 siblings, 0 replies; 3+ messages in thread
From: Pablo Neira Ayuso @ 2021-09-06 10:05 UTC (permalink / raw)
To: Duncan Roe; +Cc: netfilter-devel
On Sun, Sep 05, 2021 at 12:45:54PM +1000, Duncan Roe wrote:
> Without this patch, '\n"' rendered as '0' in e.g. man nfq_create_queue
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH libnetfilter_queue] build: doc: Fix rendering of verbatim '\n"' in man pages
@ 2021-09-03 7:46 Duncan Roe
0 siblings, 0 replies; 3+ messages in thread
From: Duncan Roe @ 2021-09-03 7:46 UTC (permalink / raw)
To: pablo; +Cc: netfilter-devel
Without this patch, '\n"' rendered as '0' in e.g. man nfq_create_queue
Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
---
doxygen/build_man.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doxygen/build_man.sh b/doxygen/build_man.sh
index e0cda71..96c97d5 100755
--- a/doxygen/build_man.sh
+++ b/doxygen/build_man.sh
@@ -69,6 +69,10 @@ post_process(){
del_empty_det_desc
del_def_at_lines
fix_double_blanks
+
+ # Fix rendering of verbatim '\n"' (in code snippets)
+ sed -i 's/\\n/\\\\n/' $target
+
done
remove_temp_files
--
2.17.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-06 10:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-05 2:45 [PATCH libnetfilter_queue] build: doc: Fix rendering of verbatim '\n"' in man pages Duncan Roe
2021-09-06 10:05 ` Pablo Neira Ayuso
-- strict thread matches above, loose matches on Subject: below --
2021-09-03 7:46 Duncan Roe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).