From: Frantisek Sumsal Date: Thu, 23 Oct 2025 13:30:52 +0000 (+0200) Subject: man: handle leading/trailing/repeating whitespaces in anchor links X-Git-Tag: v259-rc1~236^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7168535165282772b0a1de56ba3c8fbf506fbe95;p=thirdparty%2Fsystemd.git man: handle leading/trailing/repeating whitespaces in anchor links So even if a section contains newlines, we get a reasonable anchor link to it. Before:
... After:
... Resolves: #39196 --- diff --git a/man/custom-html.xsl b/man/custom-html.xsl index 98ec95303d7..45cd1f922d6 100644 --- a/man/custom-html.xsl +++ b/man/custom-html.xsl @@ -158,6 +158,8 @@ + + @@ -165,10 +167,10 @@ - + - +