[Po4a-commits] "po4a/lib/Locale/Po4a Sgml.pm,1.126,1.127"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sat Dec 6 15:57:40 UTC 2008


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

Modified Files:
	Sgml.pm 
Log Message:
	* lib/Locale/Po4a/Sgml.pm: Fix for debug=entities.


Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- Sgml.pm	6 Dec 2008 15:56:08 -0000	1.126
+++ Sgml.pm	6 Dec 2008 15:57:38 -0000	1.127
@@ -771,7 +771,7 @@
 
 	    # Do the substitution
 	    $origfile = "$begin".$entincl{$key}{'content'}."$end";
-	    print STDERR "substitute $2\n" if ($debug{'entities'});
+	    print STDERR "substitute $key\n" if ($debug{'entities'});
         }
     }
     $origfile=~s/\G(.*?)&([A-Za-z_:][-_:.A-Za-z0-9]*|#[0-9]+|#x[0-9a-fA-F]+)\b/$1\{PO4A-amp\}$2/gs;




More information about the Po4a-commits mailing list