All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] docparse: Fix parsing URL containing '|' in links
@ 2021-05-20 15:21 Petr Vorel
  2021-05-25  9:09 ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2021-05-20 15:21 UTC (permalink / raw)
  To: ltp

That fixes formatting for commit in close_range01:
fec8a6a69103 ("close_range: unshare all fds for CLOSE_RANGE_UNSHARE | CLOSE_RANGE_CLOEXEC")

Reported-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi,

hope this is enough to be escaped.
I tested various:
== \|= # - ## -- ___

Also one day I wrote docparser test :).

Kind regards,
Petr

 docparse/testinfo.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docparse/testinfo.pl b/docparse/testinfo.pl
index 31148e3a4..6e05982e5 100755
--- a/docparse/testinfo.pl
+++ b/docparse/testinfo.pl
@@ -96,8 +96,8 @@ sub html_a
 {
 	my ($url, $text) = @_;
 
-	# escape ]
-	$text =~ s/([]])/\\$1/g;
+	# escape: ] |
+	$text =~ s/([]|])/\\$1/g;
 
 	return "$url\[$text\]";
 }
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [LTP] [PATCH 1/1] docparse: Fix parsing URL containing '|' in links
  2021-05-20 15:21 [LTP] [PATCH 1/1] docparse: Fix parsing URL containing '|' in links Petr Vorel
@ 2021-05-25  9:09 ` Cyril Hrubis
  2021-05-25  9:44   ` Petr Vorel
  0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2021-05-25  9:09 UTC (permalink / raw)
  To: ltp

Hi!

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LTP] [PATCH 1/1] docparse: Fix parsing URL containing '|' in links
  2021-05-25  9:09 ` Cyril Hrubis
@ 2021-05-25  9:44   ` Petr Vorel
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2021-05-25  9:44 UTC (permalink / raw)
  To: ltp

Hi Cyril,

> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Thanks, merged!

Kind regards,
Petr

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-25  9:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 15:21 [LTP] [PATCH 1/1] docparse: Fix parsing URL containing '|' in links Petr Vorel
2021-05-25  9:09 ` Cyril Hrubis
2021-05-25  9:44   ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.