--- loncom/interface/lonsearchcat.pm 2001/03/27 02:51:15 1.80 +++ loncom/interface/lonsearchcat.pm 2001/03/27 12:49:18 1.81 @@ -683,7 +683,9 @@ sub output_results { $customshow=~s/[^\w\s]//g; my @fields=map {"$_:"} split(/\s+/,$customshow); - $extrashow="\n"; + if ($customshow) { + $extrashow="\n"; + } } my $customdata=''; foreach my $result (@results) {