From d438b00d58e237164a949c7b53972131926afd18 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 7 Dec 2010 22:05:48 +0100 Subject: [PATCH] browser: display 'js api' category as 'js' Useless word causes line breaks if filtered. --- browser.plp | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.0