summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-05-30 19:35:30 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-05-30 19:35:30 (GMT)
commitad65c6e23de430b2c4f0ef732b95834c87a28c20 (patch)
tree3ef766a4fc3d6b5bf1987b9041d5046e2362c52e /src/htmlgen.cpp
parent44904635bc78fae2ce60fc942cc5b7cba9958a34 (diff)
downloadDoxygen-ad65c6e23de430b2c4f0ef732b95834c87a28c20.zip
Doxygen-ad65c6e23de430b2c4f0ef732b95834c87a28c20.tar.gz
Doxygen-ad65c6e23de430b2c4f0ef732b95834c87a28c20.tar.bz2
Release-1.4.3-20050530
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++; }