Package: libhtml-formattext-withlinks-perl Version: 0.14-1 Severity: minor Hi,
the manual page says:
parse
my $text = $f->parse($html);
Takes some HTML and returns it as text. Returns undef on error.
Will also return undef if you don't pass it undef. Returns an empty
string if passed an empty string.
and the code contains:
sub parse {
my $self = shift;
my $text = shift;
return undef unless defined $text;
return '' if $text eq '';
The negation for undef is wrong: »Will also return undef if you pass
it undef.« The don't must be removed.
Bye, Jörg.
-- System Information:
Debian Release: unstable/experimental
APT prefers unstable
APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 3.3.0-rc3-00279-g8e4baad
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libhtml-formattext-withlinks-perl depends on:
ii libhtml-format-perl 2.10-1
ii libhtml-tree-perl 4.2-1
ii liburi-perl 1.59-1
ii perl 5.14.2-7
libhtml-formattext-withlinks-perl recommends no packages.
libhtml-formattext-withlinks-perl suggests no packages.
-- no debconf information
signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP

