diff options
Diffstat (limited to 'src/htmldocvisitor.cpp')
-rw-r--r-- | src/htmldocvisitor.cpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index 03a1759..41c2fb4 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -923,10 +923,21 @@ void HtmlDocVisitor::visitPost(DocParamList *) void HtmlDocVisitor::visitPre(DocXRefItem *x) { if (m_hide) return; - m_t << "<dl compact><dt><b><a class=\"el\" href=\"" - << x->relPath() << x->file() << Doxygen::htmlFileExtension << "#" << x->anchor() << "\">"; + bool anonymousEnum = x->file()=="@"; + if (!anonymousEnum) + { + m_t << "<dl compact><dt><b><a class=\"el\" href=\"" + << x->relPath() << x->file() << Doxygen::htmlFileExtension + << "#" << x->anchor() << "\">"; + } + else + { + m_t << "<dl compact><dt><b>"; + } filter(x->title()); - m_t << ":</a></b></dt><dd>"; + m_t << ":"; + if (!anonymousEnum) m_t << "</a>"; + m_t << "</b></dt><dd>"; } void HtmlDocVisitor::visitPost(DocXRefItem *) |