diff options
author | albert-github <albert.tests@gmail.com> | 2019-02-22 12:28:23 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-02-22 12:28:23 (GMT) |
commit | d1dd7d6247f6e5eadebeec9f6d6d12fb9027bde3 (patch) | |
tree | 4f09fe76986e22315317d41318d9a3d14075e929 /src/util.cpp | |
parent | d562d7a4bf3cec36858bdc8b01245da042024817 (diff) | |
download | Doxygen-d1dd7d6247f6e5eadebeec9f6d6d12fb9027bde3.zip Doxygen-d1dd7d6247f6e5eadebeec9f6d6d12fb9027bde3.tar.gz Doxygen-d1dd7d6247f6e5eadebeec9f6d6d12fb9027bde3.tar.bz2 |
Latex code double minus goes to endash
In case in code 2 consecutive minus signs are present they are shown as endash.
using the same code as in the non code part solves the issue.
Issue can e.g. be seen in cpp source code (with e.g. i--) and in the doxygen documentation in the paragraph "Comment blocks in VHDL"
This is a regression in 1.8.15
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index b99753e..035bef3 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -6856,6 +6856,7 @@ void filterLatexString(FTextStream &t,const char *str, case '%': t << "\\%"; break; case '#': t << "\\#"; break; case '$': t << "\\$"; break; + case '-': t << "-\\/"; break; case '^': (usedTableLevels()>0) ? t << "\\string^" : t << (char)c; break; case '~': (usedTableLevels()>0) ? t << "\\string~" : t << (char)c; break; case ' ': if (keepSpaces) t << "~"; else t << ' '; |