diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-04-14 17:31:40 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-04-14 17:31:40 (GMT) |
commit | 63492f6c10279652fff2c84d181d150399d5d2c5 (patch) | |
tree | a55ee065964ec5e0b5dc8aa5900749b51e905662 /src | |
parent | 50a329c056a2676608f30321a3207ff17ab20abb (diff) | |
parent | 3608a668b3892eaa4f7b2e4b29b833ede24ceee7 (diff) | |
download | Doxygen-63492f6c10279652fff2c84d181d150399d5d2c5.zip Doxygen-63492f6c10279652fff2c84d181d150399d5d2c5.tar.gz Doxygen-63492f6c10279652fff2c84d181d150399d5d2c5.tar.bz2 |
Merge pull request #330 from albert-github/bug_747780
Bug 747780 - man output should escape minus signs
Diffstat (limited to 'src')
-rw-r--r-- | src/mangen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mangen.cpp b/src/mangen.cpp index 77aa07d..a88ac26 100644 --- a/src/mangen.cpp +++ b/src/mangen.cpp @@ -306,6 +306,7 @@ void ManGenerator::docify(const char *str) { switch(c) { + case '-': t << "\\-"; break; // see bug747780 case '.': t << "\\&."; break; // see bug652277 case '\\': t << "\\\\"; col++; break; case '\n': t << "\n"; col=0; break; |