[Po4a-commits] "po4a/lib/Locale/Po4a Xhtml.pm,1.13,1.14"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Sun Nov 2 17:35:53 UTC 2008
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv2431/lib/Locale/Po4a
Modified Files:
Xhtml.pm
Log Message:
Cleanup. Remove <br> from inline. Remove the _default_untranslated list.
Index: Xhtml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xhtml.pm,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Xhtml.pm 2 Nov 2008 17:22:46 -0000 1.13
+++ Xhtml.pm 2 Nov 2008 17:35:51 -0000 1.14
@@ -166,13 +166,17 @@
$self->{options}{'wrap'}=1;
$self->{options}{'doctype'}=$self->{options}{'doctype'} || 'html';
+ # Default tags are translated (text rewrapped), and introduce a
+ # break.
+ # The following list indicates the list of tags which should be
+ # translated without rewrapping.
$self->{options}{'_default_translated'}.='
W<pre>
';
- $self->{options}{'_default_untranslated'}.='
- <br>
- ';
+ # The following list indicates the list of tags which should be
+ # translated inside the current block, whithout introducing a
+ # break.
$self->{options}{'_default_inline'}.='
<a>
<abbr>
@@ -180,7 +184,6 @@
<b>
<big>
<bdo>
- <br>
<button>
<cite>
<code>
More information about the Po4a-commits
mailing list