[Po4a-commits] "po4a/lib/Locale/Po4a Text.pm,1.1,1.2"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Fri Jul 14 22:02:21 UTC 2006
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv15808/lib/Locale/Po4a
Modified Files:
Text.pm
Log Message:
Fix missing empty lines between paragraphs in the Text module.
Index: Text.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Text.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Text.pm 13 Nov 2005 09:26:57 -0000 1.1
+++ Text.pm 14 Jul 2006 22:02:18 -0000 1.2
@@ -77,6 +77,7 @@
if ($line =~ /^\s*$/) {
# Break paragraphs on lines containing only spaces
do_paragraph($self,$paragraph,$wrapped_mode);
+ $self->pushline("\n") unless ($wrapped_mode == 0);
$paragraph="";
$wrapped_mode = 1;
$self->pushline($line."\n");
More information about the Po4a-commits
mailing list