[Po4a-commits] "po4a/lib/Locale/Po4a Xml.pm,1.79,1.80"
    Nicolas FRANCOIS 
    nekral-guest at alioth.debian.org
       
    Sat Nov  8 15:50:04 UTC 2008
    
    
  
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv32526/lib/Locale/Po4a
Modified Files:
	Xml.pm 
Log Message:
	* lib/Locale/Po4a/Xml.pm: Quotes are not relevant in CDATAs. This
	caused po4a to search for the end of CDATA in the rest of the
	document if an apostrophe was opened and not closed.
Index: Xml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xml.pm,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- Xml.pm	2 Nov 2008 17:22:45 -0000	1.79
+++ Xml.pm	8 Nov 2008 15:50:02 -0000	1.80
@@ -724,7 +724,7 @@
 
 sub CDATA_extract {
 	my ($self,$remove)=(shift,shift);
-        my ($eof, @tag) = $self->get_string_until(']]>',{include=>1,unquoted=>1,remove=>$remove});
+        my ($eof, @tag) = $self->get_string_until(']]>',{include=>1,unquoted=>0,remove=>$remove});
 
 	return ($eof, @tag);
 }
    
    
More information about the Po4a-commits
mailing list