-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not escape dash, underscore, and ampersand
Currently, we escape a few characters, such as - becomes \- (arithmetic minus sign) _ becomes \_ (underscore character) & becomes \& (zero-width space) As a result, we have two bugs: 1. All & characters disappear from the resulting man page. 2. Dash and underscore become quite longer (not in text output, only in PDF etc), which in many cases (like file names, command line options etc) look ugly. In fact, the only character that needs escaping is the backslash itself. Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters