--- deliantra/Deliantra-Client/DC/Protocol.pm 2006/06/06 02:55:50 1.22 +++ deliantra/Deliantra-Client/DC/Protocol.pm 2006/06/06 03:02:15 1.23 @@ -373,6 +373,9 @@ my $time = sprintf "%02d:%02d:%02d", (localtime time)[2,1,0]; + # try to create single paragraphs of multiple lines sent by the server + $text =~ s/(?<=\S)\n(?=\S)/ /g; + $text = CFClient::UI::Label::escape $text; $text =~ s/\[b\](.*?)\[\/b\]/\1<\/b>/g; $text =~ s/\[color=(.*?)\](.*?)\[\/color\]/\2<\/span>/g;