[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.121,1.122"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Mon Mar 6 21:47:58 UTC 2006


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

Modified Files:
	Man.pm 
Log Message:
Also handle empty font modifiers followed by .P, .PP or .TP


Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- Man.pm	6 Mar 2006 21:35:30 -0000	1.121
+++ Man.pm	6 Mar 2006 21:47:56 -0000	1.122
@@ -587,7 +587,7 @@
         chomp($l2);
         if ($line =~ /^(\.[BI])\s*$/) {
             if (   $l2 =~ /^[.'][\t ]*([BI]|BI|BR|IB|IR|RB|RI|SH|TP)[\t ]/
-                or $l2 =~ /^[.'][\t ]*([BI])$/) {
+                or $l2 =~ /^[.'][\t ]*([BI]|P|PP|TP)$/) {
                 my $font = $line;
                 $font =~ s/^\.([BI])\s*$/$1/;
                 # Register the new current font.




More information about the Po4a-commits mailing list