You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we escape a few characters, such as
- (dash) becomes \- (arithmetic minus sign)
_ (underscore) becomes \_ (underline character)
& (ampersand) becomes \& (zero-width space)
As a result, we have two bugs:
1. All & characters disappear from the resulting man page.
2. Dashes are quite longer, and underscores becomes underlines (the
latter are lower). This is not reflected in text output, only in PDF
etc, and in most cases (like file names, command line options etc)
does not look good.
In fact, the only character that needs escaping is the backslash itself.
This is what this patch does, together with fixes to expected test
output.
Signed-off-by: Kir Kolyshkin <[email protected]>
0 commit comments