mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
wikiheaders: Don't escape . chars in manpage's brief section.
Otherwise, the `apropos` command gets upset. Fixes #15387.
This commit is contained in:
parent
59267ed800
commit
a49a5e87a9
1 changed files with 5 additions and 0 deletions
|
|
@ -2912,6 +2912,11 @@ __EOF__
|
|||
$brief = shift @briefsplit;
|
||||
$brief = dewikify($wikitype, $brief);
|
||||
|
||||
# Hack: `apropros` doesn't like escaped character things like `\[char46]` for `.`...since almost every
|
||||
# manpage will end their Brief section with a period and it won't wordwrap to risk being a groff control
|
||||
# character, just replace it.
|
||||
$brief =~ s/\\\[char46\]/./g;
|
||||
|
||||
if (defined $remarks) {
|
||||
$remarks = dewikify($wikitype, join("\n", @briefsplit) . $remarks);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue