summaryrefslogtreecommitdiffstats
path: root/src/htmlhelp.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-06-13 08:32:01 (GMT)
committerGitHub <noreply@github.com>2021-06-13 08:32:01 (GMT)
commit8516c0a1a979aff077ad029acd9a18271086542f (patch)
treeb32ab3461f02256521fe38b2b64a80e9c9c327e2 /src/htmlhelp.cpp
parentdb2276c89792975c88dceb6b704fc1dae403f28a (diff)
parentad4715242a2d4747902ed55afe43fdde700b7621 (diff)
downloadDoxygen-8516c0a1a979aff077ad029acd9a18271086542f.zip
Doxygen-8516c0a1a979aff077ad029acd9a18271086542f.tar.gz
Doxygen-8516c0a1a979aff077ad029acd9a18271086542f.tar.bz2
Merge pull request #8594 from albert-github/feature/bug_765867
bug_765867 Ampersand not rendered correctly in HTML Help index
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r--src/htmlhelp.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp
index 9887616..f776fa4 100644
--- a/src/htmlhelp.cpp
+++ b/src/htmlhelp.cpp
@@ -262,7 +262,7 @@ void HtmlHelpIndex::writeFields(std::ostream &t)
t << " <LI><OBJECT type=\"text/sitemap\">";
t << "<param name=\"Local\" value=\"" << field2URL(f.get(),FALSE);
t << "\">";
- t << "<param name=\"Name\" value=\"" << m_recoder.recode(level1) << "\">"
+ t << "<param name=\"Name\" value=\"" << convertToHtml(m_recoder.recode(level1),TRUE) << "\">"
"</OBJECT>\n";
}
else
@@ -272,14 +272,14 @@ void HtmlHelpIndex::writeFields(std::ostream &t)
t << " <LI><OBJECT type=\"text/sitemap\">";
t << "<param name=\"Local\" value=\"" << field2URL(f.get(),TRUE);
t << "\">";
- t << "<param name=\"Name\" value=\"" << m_recoder.recode(level1) << "\">"
+ t << "<param name=\"Name\" value=\"" << convertToHtml(m_recoder.recode(level1),TRUE) << "\">"
"</OBJECT>\n";
}
else
{
t << " <LI><OBJECT type=\"text/sitemap\">";
- t << "<param name=\"See Also\" value=\"" << m_recoder.recode(level1) << "\">";
- t << "<param name=\"Name\" value=\"" << m_recoder.recode(level1) << "\">"
+ t << "<param name=\"See Also\" value=\"" << convertToHtml(m_recoder.recode(level1),TRUE) << "\">";
+ t << "<param name=\"Name\" value=\"" << convertToHtml(m_recoder.recode(level1),TRUE) << "\">"
"</OBJECT>\n";
}
}
@@ -299,7 +299,7 @@ void HtmlHelpIndex::writeFields(std::ostream &t)
t << " <LI><OBJECT type=\"text/sitemap\">";
t << "<param name=\"Local\" value=\"" << field2URL(f.get(),FALSE);
t << "\">";
- t << "<param name=\"Name\" value=\"" << m_recoder.recode(level2) << "\">"
+ t << "<param name=\"Name\" value=\"" << convertToHtml(m_recoder.recode(level2),TRUE) << "\">"
"</OBJECT>\n";
}
}