提交 e4860d53 编写于 作者: R Richard Levitte

process_docs.pl: When starting to read a new head1 section, remove previous text

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 eae02924
......@@ -91,9 +91,10 @@ foreach my $subdir (keys %{$options{subdir}}) {
if (m|^head1=\s*(.*)|) {
$podinfo{lastsect} = $1;
$podinfo{lastsect} =~ s/\s+$//;
$podinfo{lastsecttext} = "";
}
next if (m|^=| || m|^\s*$|);
$podinfo{lastsecttext} .= " ";
$podinfo{lastsecttext} .= " " if $podinfo{lastsecttext};
$podinfo{lastsecttext} .= $_;
}
close $pod_fh;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册