From: Mischa POSLAWSKY Date: Tue, 7 Dec 2010 21:05:48 +0000 (+0100) Subject: browser: display 'js api' category as 'js' X-Git-Tag: v1.4~42 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/d438b00d58e237164a949c7b53972131926afd18 browser: display 'js api' category as 'js' Useless word causes line breaks if filtered. --- diff --git a/browser.plp b/browser.plp index 9a865d4..258999e 100644 --- a/browser.plp +++ b/browser.plp @@ -192,6 +192,7 @@ sub saytitlecol { for ($row->{categories}) { my $cell = $_ ? lc $_->[0] : '-'; + $cell =~ s/ api$//; # trim unessential fluff in 'js api' printf '%s', join(' + ', @$_), $cell; }