diff options
author | albert-github <albert.tests@gmail.com> | 2016-03-05 19:35:16 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2016-03-05 19:35:16 (GMT) |
commit | d4ab02c2da7df472bebbf2724419ba00f2de229c (patch) | |
tree | 3c3eb2566bbb4daebfaf9d267f4778fd3018b87a /src/util.cpp | |
parent | 537a1c67f316c5a9d2d4542e94a4ace439a78b3a (diff) | |
download | Doxygen-d4ab02c2da7df472bebbf2724419ba00f2de229c.zip Doxygen-d4ab02c2da7df472bebbf2724419ba00f2de229c.tar.gz Doxygen-d4ab02c2da7df472bebbf2724419ba00f2de229c.tar.bz2 |
Bug 762982 - regression, Unescaped percent sign in doxygen output
Besides the fact that the % sign was not escaped also the & was missing and had to be escaped as well.
Diffstat (limited to 'src/util.cpp')
-rwxr-xr-x | src/util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index 91f83ae..ab45798 100755 --- a/src/util.cpp +++ b/src/util.cpp @@ -6738,6 +6738,8 @@ QCString latexEscapePDFString(const char *s) case '{': t << "\\{"; break; case '}': t << "\\}"; break; case '_': t << "\\_"; break; + case '%': t << "\\%"; break; + case '&': t << "\\&"; break; default: t << c; break; |