[Po4a-commits] "po4a/lib/Locale/Po4a Xml.pm,1.103,1.104"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sun Mar 8 21:24:24 UTC 2009


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

Modified Files:
	Xml.pm 
Log Message:
	* lib/Locale/Po4a/Xml.pm: The tag and the po4a-id may have been
	split on different lines in the PO file.


Index: Xml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xml.pm,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- Xml.pm	7 Mar 2009 13:58:04 -0000	1.103
+++ Xml.pm	8 Mar 2009 21:24:22 -0000	1.104
@@ -150,7 +150,7 @@
 	$translation .= $line;
 
 	while (    %{$holder->{folded_attributes}}
-	       and $translation =~ m/^(.*)<([^>]+) po4a-id=([0-9]+)>(.*)$/s) {
+	       and $translation =~ m/^(.*)<([^>]+?)\s+po4a-id=([0-9]+)>(.*)$/s) {
 		my $begin = $1;
 		my $tag = $2;
 		my $id = $3;




More information about the Po4a-commits mailing list