mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 01:08:26 +00:00
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.
This commit is contained in:
parent
cf62637261
commit
1f7aa16eae
1 changed files with 1 additions and 0 deletions
|
@ -426,6 +426,7 @@ sub dewikify_chunk {
|
||||||
# make sure these can't become part of roff syntax.
|
# make sure these can't become part of roff syntax.
|
||||||
$str =~ s/\./\\[char46]/gms;
|
$str =~ s/\./\\[char46]/gms;
|
||||||
$str =~ s/"/\\(dq/gms;
|
$str =~ s/"/\\(dq/gms;
|
||||||
|
$str =~ s/'/\\(aq/gms;
|
||||||
|
|
||||||
if ($wikitype eq 'mediawiki') {
|
if ($wikitype eq 'mediawiki') {
|
||||||
# Dump obvious wikilinks.
|
# Dump obvious wikilinks.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue