[Po4a-commits] "po4a/lib/Locale/Po4a Wml.pm,1.12,1.13"

Noritada Kobayashi nori1-guest at alioth.debian.org
Thu Mar 20 03:10:14 UTC 2008


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv24686/lib/Locale/Po4a

Modified Files:
	Wml.pm 
Log Message:
* lib/Locale/Po4a/Wml.pm: Restore $/ after reading input files, before
reading temporary XML files, to correct line number information in the
output po file.
* t/data-29/general-normalized.wml: Update test data accordingly.


Index: Wml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Wml.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Wml.pm	29 Feb 2008 21:06:40 -0000	1.12
+++ Wml.pm	20 Mar 2008 03:10:11 -0000	1.13
@@ -92,6 +92,7 @@
         $/ = undef; 
         $file=<FILEIN>;
       }
+      $/ = "\n"; 
       
       # Mask perl cruft out of XML sight
       while ($file =~ m|^(.*?)<perl>(.*?)</perl>(.*?)$|ms || $file =~ m|^(.*?)<:(.*?):>(.*)$|ms) {




More information about the Po4a-commits mailing list