mirror of https://github.com/libsdl-org/SDL.git
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.
(cherry picked from commit 1f7aa16eae)
This commit is contained in:
parent
9f8161bf4a
commit
8410e11ecb
|
|
@ -427,6 +427,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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue