We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a259435 + 57c09d0 commit a37ae1cCopy full SHA for a37ae1c
1 file changed
src/man2hlp/man2hlp.in
@@ -355,8 +355,8 @@ sub handle_node($$)
355
}
356
else
357
{
358
- # Remove quotes
359
- $buffer =~ s/^"// and $buffer =~ s/"$//;
+ # Remove quotes and escaping from dashes
+ $buffer =~ s/^"// and $buffer =~ s/"$// and $buffer =~ s/\\-/-/;
360
# Calculate heading level
361
$heading_level = 0;
362
$heading_level++ while substr($buffer, $heading_level, 1) eq ' ';
0 commit comments