diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index 358242537b..5c3aba69f4 100755 --- a/doc/texi2pod.pl +++ b/doc/texi2pod.pl @@ -301,7 +301,7 @@ INF: while(<$inf>) { $columns =~ s/\@tab/ : /; $_ = " : ". $columns; - $section =~ s/\n+\s+$//; + $chapter =~ s/\n+\s+$//; }; /^\@itemx?\s*(.+)?$/ and do {