[Po4a-commits] "po4a/lib/Locale/Po4a Xhtml.pm,1.5,1.6"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Thu Aug 9 18:44:24 UTC 2007


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

Modified Files:
	Xhtml.pm 
Log Message:
includessi was always activated. Fixed.


Index: Xhtml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xhtml.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Xhtml.pm	8 Aug 2007 20:57:19 -0000	1.5
+++ Xhtml.pm	9 Aug 2007 18:44:22 -0000	1.6
@@ -213,7 +213,8 @@
                 ';
         $self->treat_options;
 
-        if (defined $self->{options}{'includessi'}) {
+        if (    defined $self->{options}{'includessi'}
+            and length $self->{options}{'includessi'}) {
                 foreach (@tag_types) {
                         if ($_->{beginning} eq "!--#") {
                                 $_->{f_extract} = \&tag_extract_SSI;




More information about the Po4a-commits mailing list