From 529244ed7be4c289c46c66f0d7aa248e80fbacdf Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 4 Nov 2018 15:29:05 +0100 Subject: 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. --- src/docbookvisitor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 << " " << endl; + if (bodySet) m_t << " " << endl; + bodySet = FALSE; m_t << " " << endl; m_t << "" << endl; } -- cgit v0.12