mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-16 12:32:58 +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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user