[Po4a-commits] "po4a/lib/Locale/Po4a Sgml.pm,1.79,1.80"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Fri Oct 28 16:55:19 UTC 2005


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

Modified Files:
	Sgml.pm 
Log Message:
Fix another issue caused by the last Po.pm fix (Po.pm revision 1.46).


Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- Sgml.pm	24 Sep 2005 21:10:20 -0000	1.79
+++ Sgml.pm	28 Oct 2005 16:55:17 -0000	1.80
@@ -1033,9 +1033,10 @@
 			     'wrap' => ! $verb,
 			     'wrapcol' => (75 - $indent));
     unless ($verb) {
-	$para =~ s/^\n//s;
+	$para =~ s/^\s+//s;
 	my $toadd=" " x ($indent+1);
 	$para =~ s/^/$toadd/mg;
+	$para .= "\n";
     }
 
     $self->pushline( $para );




More information about the Po4a-commits mailing list