[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.188,1.189"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sat Oct 7 20:45:31 UTC 2006


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

Modified Files:
	Man.pm 
Log Message:
Fix the issue detected in the previous changes (mdoc.fr). When a line was
wrapped inside a E<.xx ...>, the end of line was replaced by a space
instead of just being deleted.


Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- Man.pm	17 Sep 2006 20:36:03 -0000	1.188
+++ Man.pm	7 Oct 2006 20:45:29 -0000	1.189
@@ -904,7 +904,7 @@
     }
 
     # There must not be an end of line inside an inline macro
-    $str =~ s/(E<\.[^>]*)\n([^>]*>)/$1 $2/gs;
+    $str =~ s/(E<\.[^>]*)\n([^>]*>)/$1$2/gs;
 
     # No . or ' on first char, or nroff will think it's a macro
     # * at the beginning of a paragraph, add \& (zero width space) at




More information about the Po4a-commits mailing list