#1085519 po4a: No line break in link constructs allowed

#1085519#5
Date:
2024-10-20 13:07:25 UTC
From:
To:
It seems (by using various viewers, I did not consult the specs) a
link break is not allowed in the following instances:
link http
tty: link

in constructs like the following (from archinstall.1):
<quote>
A common workaround is to install the package \X'tty: link https://archlinux.org/packages/core/x86_64/linux-headers/'\fI\%linux\-headers\fP\X'tty: link' and \X'tty: link https://archlinux.org/packages/extra/x86_64/nvidia-dkms/'\fI\%nvidia\-dkms\fP\X'tty: link'
</quote>

See
https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/issues/20
for the original report in manpages-l10n.

For manpages-l10n, I currently implement the following workaround:
     sed -i -e ':a;N;$!ba;s/link\nhttp/link http/g' manpage
     sed -i -e ':a;N;$!ba;s/tty:\nlink/tty: link/g' manpage