[Po4a-commits] "po4a/lib/Locale/Po4a Xml.pm,1.61,1.62"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Thu Feb 14 21:29:14 UTC 2008
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv1698/lib/Locale/Po4a
Modified Files:
Xml.pm
Log Message:
Avoid duplicated newlines at the end of lines of multi-lines comments.
Thanks to Kaloian Doganov for reporting this.
Index: Xml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xml.pm,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- Xml.pm 14 Feb 2008 18:01:21 -0000 1.61
+++ Xml.pm 14 Feb 2008 21:29:12 -0000 1.62
@@ -1422,6 +1422,7 @@
my $comments;
while (@comments) {
my ($t,$l) = (shift @comments, shift @comments);
+ $t =~ s/\n$//;
$comments .= "\n" if defined $comments;
$comments .= $t;
}
More information about the Po4a-commits
mailing list