From: Mischa POSLAWSKY Date: Mon, 22 May 2023 22:03:57 +0000 (+0200) Subject: sc: format optional title of gateway build times X-Git-Tag: v1.14~20 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/a52ae5113c5e53c242e38c1805e97888840ebc50 sc: format optional title of gateway build times Fixed html attribute syntax and value rounding like warpgate. --- diff --git a/sc.plp b/sc.plp index 3c19fce..e0465ba 100644 --- a/sc.plp +++ b/sc.plp @@ -278,7 +278,7 @@ sub showrangeint { $_->{transform}, ) : !defined $_->{build} ? '' : sprintf('%s%.0f', - defined $_->{warp} && qq(title="$_->{build} without warpgate"), + defined $_->{warp} && sprintf(' title="%.0f without warpgate"', $_->{build}), !!$_->{base} && sprintf( '+', 'from '.join('+', @{ $_->{base} }),