SDL: wikiheaders: Man pages should escape apostrophe chars.

From 1f7aa16eaefd0d20402791ab04eb2a707b2f597b Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Wed, 14 May 2025 11:34:42 -0400
Subject: [PATCH] wikiheaders: Man pages should escape apostrophe chars.

This prevents problems if one starts a line, which would cause it to be
interpreted as a command character.

Fixes #13038.
---
 build-scripts/wikiheaders.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build-scripts/wikiheaders.pl b/build-scripts/wikiheaders.pl
index 51b953dfde576..506ad22dd4d24 100755
--- a/build-scripts/wikiheaders.pl
+++ b/build-scripts/wikiheaders.pl
@@ -426,6 +426,7 @@ sub dewikify_chunk {
         # make sure these can't become part of roff syntax.
         $str =~ s/\./\\[char46]/gms;
         $str =~ s/"/\\(dq/gms;
+        $str =~ s/'/\\(aq/gms;
 
         if ($wikitype eq 'mediawiki') {
             # Dump obvious wikilinks.