summaryrefslogtreecommitdiffstats
path: root/src/searchindex.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2017-08-25 09:31:11 (GMT)
committeralbert-github <albert.tests@gmail.com>2017-08-25 09:31:11 (GMT)
commitc69e435b3fa7d87b9e2c5defd2cc9fe98d6d6cd8 (patch)
treeb2ac566ab883e39a70398f4de71d14de97fdb2b1 /src/searchindex.cpp
parent76d2c2f71602c7797ad8fdb7b22cedc37f998476 (diff)
downloadDoxygen-c69e435b3fa7d87b9e2c5defd2cc9fe98d6d6cd8.zip
Doxygen-c69e435b3fa7d87b9e2c5defd2cc9fe98d6d6cd8.tar.gz
Doxygen-c69e435b3fa7d87b9e2c5defd2cc9fe98d6d6cd8.tar.bz2
Marks JS as freely licensed (regression pull request 586)
In case of xhtml the & has to be escaped
Diffstat (limited to 'src/searchindex.cpp')
-rw-r--r--src/searchindex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/searchindex.cpp b/src/searchindex.cpp
index dadfd6f..6fb2432 100644
--- a/src/searchindex.cpp
+++ b/src/searchindex.cpp
@@ -940,7 +940,7 @@ void writeJavascriptSearchIndex()
t << "<div class=\"SRStatus\" id=\"Loading\">" << theTranslator->trLoading() << "</div>" << endl;
t << "<div id=\"SRResults\"></div>" << endl; // here the results will be inserted
t << "<script type=\"text/javascript\"><!--" << endl;
- t << "/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */\n";
+ t << "/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */\n";
t << "createResults();" << endl; // this function will insert the results
t << "/* @license-end */\n";
t << "--></script>" << endl;
@@ -950,7 +950,7 @@ void writeJavascriptSearchIndex()
<< theTranslator->trNoMatches() << "</div>" << endl;
t << "<script type=\"text/javascript\"><!--" << endl;
- t << "/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */\n";
+ t << "/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */\n";
t << "document.getElementById(\"Loading\").style.display=\"none\";" << endl;
t << "document.getElementById(\"NoMatches\").style.display=\"none\";" << endl;
t << "var searchResults = new SearchResults(\"searchResults\");" << endl;