From a52ae5113c5e53c242e38c1805e97888840ebc50 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 23 May 2023 00:03:57 +0200 Subject: [PATCH] sc: format optional title of gateway build times Fixed html attribute syntax and value rounding like warpgate. --- sc.plp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} }), -- 2.30.0