summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-12-10 14:43:57 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-12-10 14:43:57 (GMT)
commit889a302661db7eba47b70a4a61827a5971dbe75e (patch)
treecf99da77713c02340b528c59cd7c9dacf79c2709
parent6a2f18b954cb9daf5f48db52b75ac68339f687a3 (diff)
downloadDoxygen-889a302661db7eba47b70a4a61827a5971dbe75e.zip
Doxygen-889a302661db7eba47b70a4a61827a5971dbe75e.tar.gz
Doxygen-889a302661db7eba47b70a4a61827a5971dbe75e.tar.bz2
XHTML problem with name attribute with VHDL name attribute
When running xhtml checker on the doxygen diagram example we get: Syntax of value for attribute name of a is not valid Document mux/xhtml/classmux__using__with.xhtml does not validate This is due to a space in the name tag, substituting the appropriate code solves the problem. As this is a VHDL specific problem only these strings are converted.
-rw-r--r--src/classdef.cpp2
-rw-r--r--src/vhdldocgen.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 77d9e05..c9e6dbb 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -1737,7 +1737,7 @@ void ClassDef::writeSummaryLinks(OutputList &ol)
SDict<QCString>::Iterator li(m_impl->vhdlSummaryTitles);
for (li.toFirst();li.current();++li)
{
- ol.writeSummaryLink(0,li.current()->data(),li.current()->data(),first);
+ ol.writeSummaryLink(0,convertToId(li.current()->data()),li.current()->data(),first);
first=FALSE;
}
}
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp
index 7700295..b18bd3f 100644
--- a/src/vhdldocgen.cpp
+++ b/src/vhdldocgen.cpp
@@ -2329,7 +2329,7 @@ void VhdlDocGen::writeVHDLDeclarations(MemberList* ml,OutputList &ol,
if (title)
{
- ol.startMemberHeader(title,type == VhdlDocGen::PORT ? 3 : 2);
+ ol.startMemberHeader(convertToId(title),type == VhdlDocGen::PORT ? 3 : 2);
ol.parseText(title);
ol.endMemberHeader();
ol.docify(" ");