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.
This commit is contained in:
Ryan C. Gordon
2024-05-05 01:53:37 -04:00
parent 5dc207b3b6
commit 0768e0e431

View File

@@ -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.