summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-02-10 13:30:03 (GMT)
committerGitHub <noreply@github.com>2018-02-10 13:30:03 (GMT)
commit99f113b3a0361715879deb798bbb6033444494d4 (patch)
treed3a9ec0e8649709840551639c57f04666dba568e /src
parent66151042f36ce48690f2e244b5e54bf5262497a8 (diff)
parented642b1cabdd2f3f52906a75cae7c477eb1c0378 (diff)
downloadDoxygen-99f113b3a0361715879deb798bbb6033444494d4.zip
Doxygen-99f113b3a0361715879deb798bbb6033444494d4.tar.gz
Doxygen-99f113b3a0361715879deb798bbb6033444494d4.tar.bz2
Merge pull request #650 from albert-github/feature/bug_792727
Bug 792727 - unescaped double quote in searchdata.js breaks search box functionality
Diffstat (limited to 'src')
-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 << "\"";