- $posting = join '<br>' => map {
- $_->[0]
- ? join join ('<br>' => @{$_->[-1]}) => ($params->{startCite}, $params->{endCite})
- : (join '<br>' => @{$_->[-1]});
+ my $ll=0;
+ $posting = join $break => map {
+ my $string = $_->[0]
+ ? (($ll and $ll != $_->[0]) ? $break : '') .
+ join join ($break => @{$_->[-1]})
+ => ($params->{startCite}, $params->{endCite})
+ : (join $break => @{$_->[-1]});
+ $ll = $_->[0]; $string;