diff --git a/build-scripts/wikiheaders.pl b/build-scripts/wikiheaders.pl index 0d1de8344..c7b84f35d 100755 --- a/build-scripts/wikiheaders.pl +++ b/build-scripts/wikiheaders.pl @@ -123,7 +123,7 @@ sub wikify { $str =~ s/\b(SDL_[a-zA-Z0-9_]+)/[[$1]]/gms; # Make some Markdown things into MediaWiki... - $str =~ s/\`\`\`(c|c++)(.*?)\`\`\`/$2<\/syntaxhighlight>/gms; + $str =~ s/\`\`\`(c\+\+|c)(.*?)\`\`\`/$2<\/syntaxhighlight>/gms; # is also popular. :/ $str =~ s/\`(.*?)\`/$1<\/code>/gms;