summaryrefslogtreecommitdiffstats
path: root/src/ftvhelp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ftvhelp.cpp')
-rw-r--r--src/ftvhelp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ftvhelp.cpp b/src/ftvhelp.cpp
index 871edb5..b86a85b 100644
--- a/src/ftvhelp.cpp
+++ b/src/ftvhelp.cpp
@@ -1064,11 +1064,11 @@ void FTVHelp::generateTreeViewScripts()
if (projName.isEmpty())
{
LayoutNavEntry *lne = LayoutDocManager::instance().rootNavEntry()->find(LayoutNavEntry::MainPage);
- t << "\"" << lne->title() << "\", ";
+ t << "\"" << convertToJSString(lne->title()) << "\", ";
}
else
{
- t << "\"" << projName << "\", ";
+ t << "\"" << convertToJSString(projName) << "\", ";
}
t << "\"index" << Doxygen::htmlFileExtension << "\", ";