[Po4a-commits] po4a/lib/Locale/Po4a Po.pm,1.37,1.38

Jordi Vilalta po4a-devel@lists.alioth.debian.org
Tue, 22 Mar 2005 12:37:43 +0000


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv29734/lib/Locale/Po4a

Modified Files:
	Po.pm 
Log Message:
Handle tabs when canonizing


Index: Po.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Po.pm,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- Po.pm	27 Feb 2005 22:53:53 -0000	1.37
+++ Po.pm	22 Mar 2005 12:37:40 -0000	1.38
@@ -1065,6 +1065,7 @@
     $text =~ s/^ *//s;
     # if ($text eq "\n"), it messed up the first string (header)
     $text =~ s/\n/  /gm if ($text ne "\n");
+    $text =~ s/\t/  /gm;
     $text =~ s/([.)])  +/$1  /gm;
     $text =~ s/([^.)])  */$1 /gm;
     $text =~ s/ *$//s;