Bug#1033649: perlretut lines with only NO-BREAK SPACE look bad in some readers

Niko Tyni ntyni at debian.org
Thu Mar 30 20:40:15 BST 2023


Control: tag -1 upstream

On Wed, Mar 29, 2023 at 08:19:54AM +0800, Dan Jacobson wrote:
> Package: perl-doc
> Version: 5.36.0-7
> Severity: minor
> File: /usr/share/man/man1/perlretut.1.gz
> 
> These lines with only a NO-BREAK SPACE on them serve no purpose, and
> just look funny in e.g., emacs. Also they only occur on this man page.
> $ for i in perl perlre perlretut; do man -w $i |
> xargs zcat|uni2ascii -q|grep -c ^0x00A0$; done
> 0
> 0
> 15
> Emacs should be thanked for detecting it.

These were explicitly added in the source pod file as E<nbsp> entities in

  https://github.com/Perl/perl5/commit/15776bb0ab4

It looks like the reasoning was that this "fixes some numbered lists to
display not so uglily".
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list