Skip to content

RT 23471: S<non breaking text> does not work if =encoding is present #55

@briandfoy

Description

@briandfoy

from [email protected]


Hi there,

perldoc (using Pod::Perldoc v3.28) folds S
if any =encoding statement is present (even =encoding latin1).

STEPS TO REPRODUCE:

  1. Save the following demo to foo.pl
  2. Resize the terminal to 80 columns
  3. perldoc ./foo.pl

RESULTS: The long formula coded in S< ... > is displayed folded, but
should be shown on a single line. The bug goes away if the =encoding
directive is removed.

#!/usr/bin/perl
1;

=pod

=encoding utf8

=head1 blahblah

Blah blah blah.  The following forumula should not be folded:
S< a + b + c + d + e + f + g + h + i >
but it is.

=cut

Metadata

Metadata

Assignees

Labels

Type: bugan existing feature does not workimported from RTThis issue was originally in rt.cpan.org

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions