summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-09-21 18:24:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-09-21 18:24:15 (GMT)
commitb5e1e195bc207c7bb93df4e51253f9f3a1026a3d (patch)
treee3068a008be534956bfd86c13389be80c8ec8dfd /src/index.cpp
parentfc8b41e932f9f1ef50a37f4d2ee09509333990d0 (diff)
downloadDoxygen-b5e1e195bc207c7bb93df4e51253f9f3a1026a3d.zip
Doxygen-b5e1e195bc207c7bb93df4e51253f9f3a1026a3d.tar.gz
Doxygen-b5e1e195bc207c7bb93df4e51253f9f3a1026a3d.tar.bz2
Bug 771310 - French description for "Namespace Members" is wrong and causes fatal javascript error
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 96909c7..41e3318 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -4327,8 +4327,8 @@ void renderMemberIndicesAsJs(FTextStream &t,
t << "children:[";
firstMember=FALSE;
}
- t << endl << "{text:'" << convertToJSString(getInfo(i)->title) << "',url:'"
- << convertToJSString(getInfo(i)->fname+Doxygen::htmlFileExtension) << "'";
+ t << endl << "{text:\"" << convertToJSString(getInfo(i)->title) << "\",url:\""
+ << convertToJSString(getInfo(i)->fname+Doxygen::htmlFileExtension) << "\"";
// Check if we have many members, then add sub entries per letter...
// quick alphabetical index
@@ -4357,8 +4357,8 @@ void renderMemberIndicesAsJs(FTextStream &t,
anchor=fullName+extension+"#index_";
else // other pages of multi page index
anchor=fullName+"_"+is+extension+"#index_";
- t << "{text:'" << convertToJSString(ci) << "',url:'"
- << convertToJSString(anchor+is) << "'}";
+ t << "{text:\"" << convertToJSString(ci) << "\",url:\""
+ << convertToJSString(anchor+is) << "\"}";
firstLetter=FALSE;
}
t << "]";
@@ -4393,8 +4393,8 @@ static bool renderQuickLinksAsJs(FTextStream &t,LayoutNavEntry *root,bool first)
if (!firstChild) t << "," << endl;
firstChild=FALSE;
QCString url = entry->url();
- t << "{text:'" << convertToJSString(entry->title()) << "',url:'"
- << convertToJSString(url) << "'";
+ t << "{text:\"" << convertToJSString(entry->title()) << "\",url:\""
+ << convertToJSString(url) << "\"";
bool hasChildren=FALSE;
if (entry->kind()==LayoutNavEntry::NamespaceMembers)
{