summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-12-01 11:18:55 (GMT)
committerGitHub <noreply@github.com>2018-12-01 11:18:55 (GMT)
commitb0cc6b1f3c9e7f3ca992e59e9da1d2cfc9a5c1d6 (patch)
treea09c0235efdf03e9ae2244c83f8e13c6e5044e56 /src
parent8f29d701e956301662637957338757040fc1303c (diff)
parent2bcda330add9279f777990b450f182be16b67e80 (diff)
downloadDoxygen-b0cc6b1f3c9e7f3ca992e59e9da1d2cfc9a5c1d6.zip
Doxygen-b0cc6b1f3c9e7f3ca992e59e9da1d2cfc9a5c1d6.tar.gz
Doxygen-b0cc6b1f3c9e7f3ca992e59e9da1d2cfc9a5c1d6.tar.bz2
Merge pull request #6645 from albert-github/feature/bug_xhtml_test_11
Incorrect tag sequence for xhtml with class diagram possible
Diffstat (limited to 'src')
-rw-r--r--src/context.cpp1
-rw-r--r--src/diagram.cpp2
-rw-r--r--src/htmlgen.cpp1
3 files changed, 2 insertions, 2 deletions
diff --git a/src/context.cpp b/src/context.cpp
index 405d0b5..b05ee9f 100644
--- a/src/context.cpp
+++ b/src/context.cpp
@@ -2010,6 +2010,7 @@ class ClassContext::Private : public DefinitionContext<ClassContext::Private>
d.writeImage(t,g_globals.outputDir,
relPathAsString(),
m_classDef->getOutputFileBase());
+ t << "<div/></map>" << endl;
t << "</div>";
}
break;
diff --git a/src/diagram.cpp b/src/diagram.cpp
index 667aa85..83e42b3 100644
--- a/src/diagram.cpp
+++ b/src/diagram.cpp
@@ -1380,7 +1380,5 @@ void ClassDiagram::writeImage(FTextStream &t,const char *path,
#define IMAGE_EXT ".png"
image.save((QCString)path+"/"+fileName+IMAGE_EXT);
Doxygen::indexList->addImageFile(QCString(fileName)+IMAGE_EXT);
-
- if (generateMap) t << "</map>" << endl;
}
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index 581f3f2..357c048 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -1397,6 +1397,7 @@ void HtmlGenerator::endClassDiagram(const ClassDiagram &d,
t << "_map\">" << endl;
d.writeImage(t,dir,relPath,fileName);
+ t << "<div/></map>" << endl;
t << " </div>";
endSectionContent(t);
m_sectionCount++;