[Po4a-commits] "po4a/lib/Locale/Po4a Xhtml.pm,1.15,1.16"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sun Feb 22 21:58:26 UTC 2009


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

Modified Files:
	Xhtml.pm 
Log Message:
	* lib/Locale/Po4a/Xhtml.pm: Remove <map> from the set of inline
	tags. <img> are not translated so <map>/<area> should not be
	neither.


Index: Xhtml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xhtml.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Xhtml.pm	6 Dec 2008 15:51:11 -0000	1.15
+++ Xhtml.pm	22 Feb 2009 21:58:24 -0000	1.16
@@ -195,7 +195,6 @@
                 <input> 
                 <kbd> 
                 <label> 
-                <map> 
                 <object> 
                 <q> 
                 <samp> 
@@ -217,6 +216,8 @@
         # write text (in which case you have bigger problems than this
         # program not inlining img: you now have to translate all your
         # images. That'll teach you).
+        # If you choose to translate images, you may also want to set
+        # <map> as placeholder and <area> as inline.
 
         $self->{options}{'attributes'}.='
                 alt




More information about the Po4a-commits mailing list