summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-02-04 13:17:45 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-02-04 13:17:45 (GMT)
commited642b1cabdd2f3f52906a75cae7c477eb1c0378 (patch)
treec1088155ccf39e4936d1a6305d85c1efc070ed79
parenta1474373a0be8b099a2458b9c02d19e191e457e7 (diff)
downloadDoxygen-ed642b1cabdd2f3f52906a75cae7c477eb1c0378.zip
Doxygen-ed642b1cabdd2f3f52906a75cae7c477eb1c0378.tar.gz
Doxygen-ed642b1cabdd2f3f52906a75cae7c477eb1c0378.tar.bz2
Bug 792727 - unescaped double quote in searchdata.js breaks search box functionality
Escaped the doubele quote.
-rw-r--r--src/searchindex.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/searchindex.cpp b/src/searchindex.cpp
index 6fb2432..6276eae 100644
--- a/src/searchindex.cpp
+++ b/src/searchindex.cpp
@@ -1180,6 +1180,7 @@ void writeJavascriptSearchIndex()
SearchIndexList *sl;
for (it.toFirst();(sl=it.current());++it) // for each letter
{
+ if ( sl->letter() == '"' ) t << QString( QChar( '\\' ) ).utf8();
t << QString( QChar( sl->letter() ) ).utf8();
}
t << "\"";