wikiheaders: when merging into headers, wordwrap in Markdown style.

This commit is contained in:
Ryan C. Gordon 2021-03-25 12:50:18 -04:00
parent 45d128db00
commit f55445422a
No known key found for this signature in database
GPG Key ID: FA148B892AB48044

View File

@ -466,6 +466,9 @@ if ($warn_about_missing) {
if ($copy_direction == 1) { # --copy-to-headers if ($copy_direction == 1) { # --copy-to-headers
my %changed_headers = (); my %changed_headers = ();
$wordwrap_mode = 'md'; # the headers use Markdown format.
# if it's not in the headers already, we don't add it, so iterate what we know is already there for changes. # if it's not in the headers already, we don't add it, so iterate what we know is already there for changes.
foreach (keys %headerfuncs) { foreach (keys %headerfuncs) {
my $fn = $_; my $fn = $_;