From f55445422a350d7b28a24ff06693e47de8080627 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 25 Mar 2021 12:50:18 -0400
Subject: [PATCH] wikiheaders: when merging into headers, wordwrap in Markdown
style.
---
build-scripts/wikiheaders.pl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/build-scripts/wikiheaders.pl b/build-scripts/wikiheaders.pl
index 1a2ced94a..1b6b8555c 100755
--- a/build-scripts/wikiheaders.pl
+++ b/build-scripts/wikiheaders.pl
@@ -466,6 +466,9 @@ sub usage {
if ($copy_direction == 1) { # --copy-to-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.
foreach (keys %headerfuncs) {
my $fn = $_;