Skip to content

Commit

Permalink
Inconsistency in respect to tgroup in docbook
Browse files Browse the repository at this point in the history
The `tgroup` close tag was set although the open tag was not used. The close tag needed 'protection' by means of the bodySet variable.
  • Loading branch information
albert-github committed Nov 4, 2018
1 parent 1b88f24 commit 529244e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/docbookvisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 529244e

Please sign in to comment.