From 0768e0e431905c4d2d0f3c912372730ebd5afe29 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 5 May 2024 01:53:37 -0400 Subject: [PATCH] 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. --- build-scripts/wikiheaders.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/wikiheaders.pl b/build-scripts/wikiheaders.pl index 8fdd604438..9bd515d1f0 100755 --- a/build-scripts/wikiheaders.pl +++ b/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.