From: Yu Watanabe Date: Tue, 28 Oct 2025 06:28:54 +0000 (+0900) Subject: man: handle leading/trailing/repeating whitespaces in anchor links (#39423) X-Git-Tag: v259-rc1~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16e52afad2a7b4e7cc17fc2713429a65bdf82f91;p=thirdparty%2Fsystemd.git man: handle leading/trailing/repeating whitespaces in anchor links (#39423) So even if a section contains newlines, we get a reasonable anchor link to it. Before: ```
... ``` After: ```
... ``` Resolves: https://github.com/systemd/systemd/issues/39196 --- The reverts are not strictly necessary here (as already pointed out in https://github.com/systemd/systemd/pull/39154#issuecomment-3360118164) but they were helpful in checking if the fix works as expected. I can drop them if needed. --- 16e52afad2a7b4e7cc17fc2713429a65bdf82f91