summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index 99eb97d..2db2aff 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -603,9 +603,13 @@ void HtmlGenerator::startDoxyAnchor(const char *,const char *,
const char *args)
{
t << "<a class=\"anchor\" name=\"" << anchor << "\"></a>";
- t << "<!-- doxytag: member=<" << name << "> ref=<" << anchor << "> args=<";
+ t << "<!-- doxytag: member=\"";
+ docify(name);
+ t << "\" ref=\"";
+ docify(anchor);
+ t << "\" args=\"";
docify(args);
- t << "> -->";
+ t << "\" -->";
}
void HtmlGenerator::endDoxyAnchor(const char *,const char *)
@@ -815,6 +819,7 @@ void HtmlGenerator::docify(const char *str)
case '<': t << "&lt;"; break;
case '>': t << "&gt;"; break;
case '&': t << "&amp;"; break;
+ case '"': t << "&quot;"; break;
case '\\':
if (*p=='<')
{ t << "&lt;"; p++; }