summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-07-08 13:24:08 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-07-08 13:24:08 (GMT)
commite40b8afa2aef5e42f24bed7f82922230f56aa02a (patch)
treef6c845ba55ba8010604d073ef3393de2c02fece4 /src/latexgen.cpp
parent54f758e77fad281c0bcc80c3322cbb1822334b37 (diff)
downloadDoxygen-e40b8afa2aef5e42f24bed7f82922230f56aa02a.zip
Doxygen-e40b8afa2aef5e42f24bed7f82922230f56aa02a.tar.gz
Doxygen-e40b8afa2aef5e42f24bed7f82922230f56aa02a.tar.bz2
issue #7110 URL Encoding for Hyperlinks in PDF
For an URL also the percentage (`%`)sign has to be escaped
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 6864e74..182583f 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1381,7 +1381,7 @@ void LatexGenerator::startHtmlLink(const char *url)
if (Config_getBool(PDF_HYPERLINKS))
{
t << "\\href{";
- t << url;
+ t << latexFilterURL(url);
t << "}";
}
t << "{\\texttt{ ";