diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-08-03 19:24:08 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-08-03 19:24:08 (GMT) |
commit | 4fcc416870f33b3ee00a0cdd156e267746a136f5 (patch) | |
tree | 79c2fe905b655ce78648607ffb4c9cc5901ca825 /src/latexgen.cpp | |
parent | c7e46bcd26b7f0d804075a6f9d39a9b706022485 (diff) | |
download | Doxygen-4fcc416870f33b3ee00a0cdd156e267746a136f5.zip Doxygen-4fcc416870f33b3ee00a0cdd156e267746a136f5.tar.gz Doxygen-4fcc416870f33b3ee00a0cdd156e267746a136f5.tar.bz2 |
Using & in the project name caused invalid HTML and LaTeX output
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 7ab75c7..49f06fe 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -366,8 +366,12 @@ static void writeDefaultHeaderPart1(FTextStream &t) "\n"; // Headers & footers - QCString genString = - theTranslator->trGeneratedAt(dateToString(TRUE),Config_getString("PROJECT_NAME")); + QGString genString; + FTextStream tg(&genString); + filterLatexString(tg, + theTranslator->trGeneratedAt(dateToString(TRUE), + Config_getString("PROJECT_NAME")), + FALSE,FALSE,FALSE); t << "% Headers & footers\n" "\\usepackage{fancyhdr}\n" "\\pagestyle{fancyplain}\n" |