[Po4a-commits] "po4a/lib/Locale/Po4a Xhtml.pm,1.2,1.3"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Tue Jun 13 20:14:06 UTC 2006


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

Modified Files:
	Xhtml.pm 
Log Message:
Update for the new Xml module behaviour (no need to define all the tags).


Index: Xhtml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xhtml.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Xhtml.pm	4 Sep 2005 07:09:09 -0000	1.2
+++ Xhtml.pm	13 Jun 2006 20:14:02 -0000	1.3
@@ -86,32 +86,9 @@
 	my %options = @_;
 
 	$self->SUPER::initialize(%options);
-        #$self->{options}{'tagsonly'}=1;
 	$self->{options}{'wrap'}=1;
-        $self->{options}{'doctype'}=$self->{options}{'doctype'} || 'docbook xml';
-        $self->{options}{'tags'}.='
-                 <p> 
-                 <dl> 
-                 <div> 
-                 <noscript> 
-                 <blockquote> 
-                 <form> 
-                 <hr> 
-                 <table> 
-                 <fieldset> 
-                 <address> 
-                 <h1> 
-                 <h2> 
-                 <h3> 
-                 <h4> 
-                 <h5> 
-                 <h6> 
-                 <ul> 
-                 <ol> 
-                 <li> 
-                 <pre> 
-                 <title>
- 	';
+        $self->{options}{'doctype'}=$self->{options}{'doctype'} || 'html';
+
 	$self->{options}{'inline'}.='
                 <a> 
                 <object> 




More information about the Po4a-commits mailing list