netplan manual page contains U+2010 in option names instead of regular U+002D hyphen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Triaged
|
Low
|
Unassigned | ||
netplan.io (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
pandoc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
While attempting to search the netplan manual page for "ipv6-privacy", I discovered that all searches for options containing "-" (Unicode character 002D) fail, and this is because the manual pages have these dashes replaced with "‐" (Unicode character 2010). While the characters look almost identical, they are in fact different characters, which creates problems when searching the manual pages, or when copying and pasting options from the manual pages into configuration files.
From Googling it sounds like this problem is quite common with manual pages generated using the *roff tools? According to the following sources it sounds like the source documents needs to precede dashes with a backslash?
See:
https:/
https:/
Thanks,
Nick.
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: netplan.io 0.107-5ubuntu0.2
ProcVersionSign
Uname: Linux 6.5.0-15-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckR
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
CurrentDesktop: ubuntu:GNOME
Date: Sat Jan 27 21:48:43 2024
InstallationDate: Installed on 2021-07-24 (917 days ago)
InstallationMedia: Ubuntu-Server 21.04 "Hirsute Hippo" - Release amd64 (20210421)
SourcePackage: netplan.io
UpgradeStatus: Upgraded to mantic on 2023-11-05 (83 days ago)
We're currently using "Pandoc" to generate the manpages from markdown files. So we cannot directly modify the unicode character, but need to find the corresponding configuration option for Pandoc.
Do you have any suggestion of how that would work?