[Po4a-commits] "po4a/lib/Locale/Po4a Sgml.pm,1.70,1.71"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Wed Sep 14 11:11:17 UTC 2005


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

Modified Files:
	Sgml.pm 
Log Message:
Respect original spacing in CDATA.


Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- Sgml.pm	14 Sep 2005 08:08:11 -0000	1.70
+++ Sgml.pm	14 Sep 2005 11:11:14 -0000	1.71
@@ -911,8 +911,8 @@
 	    $cdata =~ s/{PO4A-lt}/</g;
 	    $cdata =~ s/{PO4A-gt}/>/g;
 	    $cdata =~ s/{PO4A-amp}/&/g;
-            $cdata =~ s/\s*{PO4A-end}/\]\]>\n/g;
-            $cdata =~ s/\s*{PO4A-beg-([^\}]+)}/<!\[$1\[\n/g;
+            $cdata =~ s/{PO4A-end}/\]\]>/g;
+            $cdata =~ s/{PO4A-beg-([^\}]+)}/<!\[$1\[/g;
             unless ($verb) {
               $cdata =~ s/\\t/ /g;
               $cdata =~ s/\s+/ /g;




More information about the Po4a-commits mailing list