summaryrefslogtreecommitdiffstats
path: root/src/docbookvisitor.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-11-04 14:29:05 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-11-04 14:29:05 (GMT)
commit529244ed7be4c289c46c66f0d7aa248e80fbacdf (patch)
tree8d35f3fff9b19be6fa56cf535bb4d46d81ba9c52 /src/docbookvisitor.cpp
parent1b88f2417deadcd6c25a47bd6f37c524c61abefc (diff)
downloadDoxygen-529244ed7be4c289c46c66f0d7aa248e80fbacdf.zip
Doxygen-529244ed7be4c289c46c66f0d7aa248e80fbacdf.tar.gz
Doxygen-529244ed7be4c289c46c66f0d7aa248e80fbacdf.tar.bz2
Inconsistency in respect to tgroup in docbook
The `tgroup` close tag was set although the open tag was not used. The close tag needed 'protection' by means of the bodySet variable.
Diffstat (limited to 'src/docbookvisitor.cpp')
-rw-r--r--src/docbookvisitor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/docbookvisitor.cpp b/src/docbookvisitor.cpp
index da84931..a5f0483 100644
--- a/src/docbookvisitor.cpp
+++ b/src/docbookvisitor.cpp
@@ -941,7 +941,8 @@ void DocbookDocVisitor::visitPost(DocHtmlTable *)
{
DB_VIS_C
if (m_hide) return;
- m_t << " </tbody>" << endl;
+ if (bodySet) m_t << " </tbody>" << endl;
+ bodySet = FALSE;
m_t << " </tgroup>" << endl;
m_t << "</informaltable>" << endl;
}