Sfoglia il codice sorgente

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

Ryan C. Gordon 5 anni fa
parent
commit
f55445422a
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      build-scripts/wikiheaders.pl

+ 3 - 0
build-scripts/wikiheaders.pl

@@ -466,6 +466,9 @@ if ($warn_about_missing) {
 
 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 = $_;