X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/695da8181afad1c1649a32144e1e1d7d3dfc9dc9..bda31c6e71685413018bc60c274277205a8855a2:/perl.plp diff --git a/perl.plp b/perl.plp index 716a1eb..2d9cb01 100644 --- a/perl.plp +++ b/perl.plp @@ -57,8 +57,9 @@ eval { $info->{$vcore}{versum} //= "official security patches"; # «We encourage vendors to ship the most recent supported release of Perl - # at the time of their code freeze» with debian&ubuntu having 5 years LTS - my $vendoreol = ($now - ONE_YEAR * 5)->strftime('%F'); + # at the time of their code freeze» + # assume debian ships after 1 year, and expires after 5 years LTS + my $vendoreol = ($now - ONE_YEAR * 6)->strftime('%F'); my $vdebian = first { $info->{$_}{release} ge $vendoreol && $info->{$_}{distro}{debian} } @versions; @@ -132,7 +133,9 @@ sub featattrs ($attr) { $title = $title ? sprintf ' (%s)', $title : ''; if (my $eg = $attr->{eg}) { - my $pre = sprintf ' {%s}', Entity($eg); + my $pre = Entity($eg); + $pre =~ s<\N{ZERO WIDTH SPACE}>{}g; + $pre = " {$pre}"; $title = $pre . $title; } return $title;