From 5def50c7f600f5031468435ce432844731aef0f7 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 4 Mar 2001 00:13:06 +0000 Subject: [PATCH] when joining lines together, put space between them.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1331 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- syntax.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/syntax.pl b/syntax.pl index 2d98d4c4..f0ec779b 100755 --- a/syntax.pl +++ b/syntax.pl @@ -33,7 +33,11 @@ while () { $SYNTAX =~ s/%\|$//; $DATARIVI = $SYNTAX; } elsif ($DATARIVI =~ /^\S+/) { - chomp $DATARIVI if ($data[$count+1] =~ /^\S+/); + if ($data[$count+1] =~ /^\S+/) { + chomp $DATARIVI; + $DATARIVI =~ s/ *$//g; + $DATARIVI .= " "; + } } else { $DATARIVI =~ s/^\t/ / while ($DATARIVI =~ /^\t/); }