Browse Source

wikiheaders: Fixed See Also section in --copy-to-headers.

This broke when the list bullet markdown was fixed, and then the fixed wiki
data was copied back to the headers.
Ryan C. Gordon 11 months ago
parent
commit
0768e0e431
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build-scripts/wikiheaders.pl

+ 1 - 1
build-scripts/wikiheaders.pl

@@ -1384,7 +1384,7 @@ if ($copy_direction == 1) {  # --copy-to-headers
             my $v = dewikify($wikitype, $related);
             my @desclines = split /\n/, $v;
             foreach (@desclines) {
-                s/\A(\:|\* )//;
+                s/\A[\:\*\-] //;
                 s/\(\)\Z//;  # Convert "SDL_Func()" to "SDL_Func"
                 s/\[\[(.*?)\]\]/$1/;  # in case some wikilinks remain.
                 s/\[(.*?)\]\(.*?\)/$1/;  # in case some wikilinks remain.