From 7168535165282772b0a1de56ba3c8fbf506fbe95 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Thu, 23 Oct 2025 15:30:52 +0200 Subject: [PATCH] man: handle leading/trailing/repeating whitespaces in anchor links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So even if a section contains newlines, we get a reasonable anchor link to it. Before:
... After:
... Resolves: #39196 --- man/custom-html.xsl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man/custom-html.xsl b/man/custom-html.xsl index 98ec95303d..45cd1f922d 100644 --- a/man/custom-html.xsl +++ b/man/custom-html.xsl @@ -158,6 +158,8 @@ + + @@ -165,10 +167,10 @@ - + - +