mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-11 19:06:27 +08:00
[bugfix] add utf8 support for pod2html and pod2markdown
This commit is contained in:
@@ -93,7 +93,7 @@ foreach my $subdir (keys %{$options{subdir}}) {
|
||||
my $suffix = { man => ".$podinfo{section}",
|
||||
html => ".html" } -> {$options{type}};
|
||||
my $generate = { man => "pod2man --utf8 --name=$name --section=$podinfo{section} --center=OpenSSL --release=$config{version} \"$podpath\"",
|
||||
html => "pod2html \"--podroot=$options{sourcedir}\" --htmldir=$updir --podpath=apps:crypto:ssl \"--infile=$podpath\" \"--title=$podname\""
|
||||
html => "pod2html --utf8 \"--podroot=$options{sourcedir}\" --htmldir=$updir --podpath=apps:crypto:ssl \"--infile=$podpath\" \"--title=$podname\""
|
||||
} -> {$options{type}};
|
||||
my $output_dir = catdir($options{destdir}, "man$podinfo{section}");
|
||||
my $output_file = $podname . $suffix;
|
||||
|
||||
Reference in New Issue
Block a user