[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.110,1.111"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Sat Sep 3 18:22:43 UTC 2005
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv26675/lib/Locale/Po4a
Modified Files:
Man.pm
Log Message:
Do not split the ta request's arguments because the number of spaces can
be important.
Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- Man.pm 3 Sep 2005 16:58:43 -0000 1.110
+++ Man.pm 3 Sep 2005 18:22:40 -0000 1.111
@@ -1004,7 +1004,13 @@
my @args=();
$line =~ s/\\ /$nbs/g; # This is probably not needed
push @args,$arg1;
- push @args, splitargs($ref,$arguments);
+ if ($macro =~ /^(?:ta|TP)$/) {
+ # The number of spaces may be critical for the 'ta' macro,
+ # and there is no need to split the arguments.
+ push @args, $arguments;
+ } else {
+ push @args, splitargs($ref,$arguments)
+ }
if (length($paragraph)) {
More information about the Po4a-commits
mailing list